Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsconfigure location of site.p2 output directory?
https://www.eclipse.org/forums/index.php/mv/msg/175727/559888/#msg_559888
I have finally managed to build with hudson and buckminster an p2 updatesite. However the update site is now located at ${buckminster.output.root}//info.squam.ocl.editor.metrics.bu ckminster.features_1.0.0-eclipse.feature/site.p2 . (Took me a long time to find it ).
Finally I want to automatically export this site. However it is very uncomfortable, if the path to the update site contains a package name and a version number. This makes it quite hard to automatize it in general.
The only solution I can imagine is to define another buckminster action to copy the result ot another directory.
Question: Is there a simpler way (e.g. by defining some variable?
Michael]]>Michael Breu2010-09-20T08:52:54-00:00Re: configure location of site.p2 output directory?
https://www.eclipse.org/forums/index.php/mv/msg/175727/559892/#msg_559892
Michael Breu wrote on Mon, 20 September 2010 04:52
Finally I want to automatically export this site. However it is very uncomfortable, if the path to the update site contains a package name and a version number. This makes it quite hard to automatize it in general.
Hi Michael,
this is actually a piece of cake with Hudson since you can specify filepaths in Ant syntax. Just write something like this in the 'Archive the Artifacts' Section:
buckminster.output/your.feature.name*/site.p2/**/*
Best regards,
Johannes]]>Johannes Utzig2010-09-20T09:03:33-00:00Re: configure location of site.p2 output directory?
https://www.eclipse.org/forums/index.php/mv/msg/175727/560002/#msg_560002
Yes that's the idea, although I would have thought that buckminster would bring something with it by itself.
Having now run the job several times, I see that the site.p2 directory gets crowded with old version. Is there a straightforward way to clean the site.p2 directory, besides writing another ant script?
Michael]]>Michael Breu2010-09-20T16:38:34-00:00Re: configure location of site.p2 output directory?
https://www.eclipse.org/forums/index.php/mv/msg/175727/560122/#msg_560122
add an 'Execute Shell' Build step as the first build step in your job and enter the following lines:
rm -Rf $WORKSPACE/buckminster.output
rm -Rf $WORKSPACE/buckminster.temp]]>Johannes Utzig2010-09-21T09:30:32-00:00