Community
Participate
Working Groups
Build Identifier: Eclipse 3.6 I was trying to build two features with PDE headless build using p2.gathering = true and it failed. Reproducible: Always Steps to Reproduce: 1. Pick up SDK 3.6 and put it at D:\eclipse-SDK-3.6 2. Unzip the attached file to D:\HeadlessBuild 3. Start the build with the following command runbuild >build.log 2>error.log 4. The build failed with the following messages in the error.log BUILD FAILED D:\eclipse-SDK-3.6\eclipse\plugins\org.eclipse.pde.build_3.6.0.v20100603\scripts\build.xml:38: The following error occurred while executing this line: D:\eclipse-SDK-3.6\eclipse\plugins\org.eclipse.pde.build_3.6.0.v20100603\scripts\build.xml:129: The following error occurred while executing this line: D:\HeadlessBuild\featureBuild\customTargets.xml:19: The following error occurred while executing this line: D:\eclipse-SDK-3.6\eclipse\plugins\org.eclipse.pde.build_3.6.0.v20100603\scripts\genericTargets.xml:193: The following error occurred while executing this line: D:\HeadlessBuild\featureBuild\buildDirectory\package.com.ent.customized.toolkit1.all.xml:25: The following error occurred while executing this line: D:\HeadlessBuild\featureBuild\buildDirectory\package.com.ent.customized.toolkit1.all.xml:15: The following error occurred while executing this line: D:\eclipse-SDK-3.6\eclipse\plugins\org.eclipse.pde.build_3.6.0.v20100603\templates\headless-build\allElements.xml:31: The following error occurred while executing this line: D:\HeadlessBuild\featureBuild\buildDirectory\package.com.ent.customized.toolkit1.group.group.group.xml:90: The following error occurred while executing this line: D:\HeadlessBuild\featureBuild\buildDirectory\package.com.ent.customized.toolkit1.group.group.group.xml:110: D:\HeadlessBuild\featureBuild\buildDirectory\tmp\eclipse not found. The problem is that when package.com.ent.customized.toolkit.group.group.group.xml was run, it finished the packaging of both features and did the clean up. When package.com.ent.customized.toolkit1.group.group.group.xml was called, it couldn't find the files. It should not be called since the packaging was already done. Haven't figured out how to fix it yet. If I remove p2.gathering = true from build.properties, the build can finish with two zip files in the old style. No repository was generated.
Created attachment 175949 [details] test case in zip
See the workarounds in bug 283347 *** This bug has been marked as a duplicate of bug 283347 ***