Open GoogleCodeExporter opened 8 years ago
I will review and incorporate this tonight. I will also disable the broken test
-- there's no need for it since we have the issue tracking it.
One thing I'd like to be able to do is preserve the active plug-ins to maintain
a history of installed plug-ins. Is that possible?
Original comment by konigsb...@gmail.com
on 18 Oct 2011 at 11:55
The build generates a new copy of the update site each time (the clean blows
the old one, in the update/target/repository directory, away each time).
However, once it's in P2 form, you can then copy/mirror it into an existing
site. I'd suggest that you have a separate post-build process, which you can
kick off when you want, that takes the content of the built repository and
merges it into an existing P2 site elsewhere.
http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring
So, you'd run:
eclipse -nosplash -verbose
-application org.eclipse.equinox.p2.metadata.repository.mirrorApplication
-source file:///path/to/workspacemechanic/update/target/repository/
-destination file:///path/to/main/update/site/
That will take the freshly built copy and stash it somewhere else. The stashing
should preserve the existing set of plugins in the main update site.
Original comment by alex.ble...@gmail.com
on 19 Oct 2011 at 12:02
... you also need this one:
eclipse -nosplash -verbose
-application org.eclipse.equinox.p2.artifact.repository.mirrorApplication
-source file:///path/to/workspacemechanic/update/target/repository/
-destination file:///path/to/main/update/site/
Note the subtle difference between 'p2.metadata.repository' and
'p2.artifact.repository' in the two commands.
Original comment by alex.ble...@gmail.com
on 19 Oct 2011 at 12:06
Original issue reported on code.google.com by
alex.ble...@gmail.com
on 18 Oct 2011 at 11:52Attachments: