| Summary: | [director] Support to script the director application | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Tom Hofmann <eclipse> | ||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aniefer, daniel_megert, irbull, pascal | ||||
| Version: | 3.5 | Keywords: | helpwanted | ||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tom Hofmann
I eluded to such a solution in bug #268194 but this is not what is being explored there for now. For future reference, This would have to tie in with the concept of a response file which is a way to drive an installers in a silent mode. Created attachment 145115 [details] A P2 director application ant task A simple ant task to invoke the new P2 director application from an ant script. NOTE that the P2 bundles restart related code is probably unnecessary when run against the P2 director application which already contains the fix for bug #285235. There is currently a DirectorTask class in the director.app bundle. It implements a <p2.director> task and is used by pde.build starting in M5 for bug 294334. PDE/Build only uses this to perform installs, changes are likely needed to perform any other operations currently supported by the command line director application. At this point the only thing that did not get done here is the support for scripting and I don't think this will happen at this point unless Tom you want to try to provide a patch. The code is in the org.eclipse.equinox.p2.director.app bundle and is relatively simple. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |