| Summary: | Can't build 3.4.2 based product in P2.gathering-enabled build with 3.6M6 basebuilder | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Stefan Stern <stern.s> |
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Stefan Stern
I will try to modify the 3.4.2 org.eclipse.equinox.executable build.xml file and add the target from the 3.6M6 feature version manually. Maybe that will do as workaround. Yes, adding the following lines from the build.xml version 3.6M6 to the build.xml version 3.4.2 does the job:
in target init:
<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
<condition property="p2.publish.parts" value="true" >
<istrue value="${p2.gathering}"/>
</condition>
and the missing new target:
<target name="publish.bin.parts" depends="init" if="p2.publish.parts">
<eclipse.gatherFeature
metadataRepository="${p2.build.repo}"
artifactRepository="${p2.build.repo}"
buildResultFolder="${basedir}"
baseDirectory="${basedir}"
/>
</target>
To complete the workaround:
In build.xml:
The ${launcherName} property-inserts must be replaced by the given name of the launcher binary. For Win32 x86 and x86_64 e.g. "launcher.exe".
In build.properties, the properties which specify the binary name are wrong. These must be fixed, so they match the binary name on the HDD.
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |