Community
Participate
Working Groups
<p2.process.artifacts repositoryPath="${p2.build.repo}" pack="true" /> Also, these tasks should be cleaned up in buildAll.xml <antcall target="packMasterFeature" /> <antcall target="unpackUpdateJarsForPackaging" /> <antcall target="buildUpdateSite" />
Also, the source build needs to be completely refactored to use p2 to provision the bundles instead of using the assemble scripts that are included in the build.
whoops, comment #2 was for another bug
Created attachment 129095 [details] patch
(In reply to comment #0) > <p2.process.artifacts repositoryPath="${p2.build.repo}" pack="true" /> > > Also, these tasks should be cleaned up in buildAll.xml > <antcall target="packMasterFeature" /> > <antcall target="unpackUpdateJarsForPackaging" /> > <antcall target="buildUpdateSite" /> You might like this replacement for buildUpdateSite: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.dash/athena/org.eclipse.dash.commonbuilder/org.eclipse.dash.commonbuilder.releng/tools/scripts/buildAllHelper.xml?root=Technology_Project&view=markup (see buildUpdate task, ) Two limitations of this solution are: bug 269226 - generate site.xml because p2 won't show uncategorized features bug 269199 - don't use packed jars because p2 can't handle them bug 252035 - Provide a p2 repo after the master feature is built
Closing this bug. The packed files are now in the repo. I didn't change these tasks around <antcall target="packMasterFeature" /> <antcall target="unpackUpdateJarsForPackaging" /> <antcall target="buildUpdateSite" /> Some of these zips are still used for the packager. Nick, thanks for the link but I think we'll stick to using the p2 tasks to create the update site repo. <p2.metadata.mirror source="${p2.build.repo}" writeMode="append" destination="file:${buildRepo}" /> <p2.artifact.mirror source="${p2.build.repo}" baseline="file:${updateSite}" comparatorId="org.eclipse.equinox.p2.repository.tools.jar.comparator" destination="file:${buildRepo}" ignoreErrors="true"/> <copy todir="${buildRepo}"> <fileset file="${eclipse.build.configs}/../../extras/sdkinstaller.properties" /> </copy> in org.eclipse.releng.eclipsebuilder\equinox\buildConfigs\equinox.prov\run.xml <!--generate packed jars in repo--> <p2.process.artifacts repositoryPath="file://${buildRepo}" pack="true" /> <!--update metadata with information on packed jars --> <antcall target="update.pack200" />