Vega
Vega copied to clipboard
PDE build is defective on Mac OS X
It still sniffs for .../Contents/Home/Classes on OSX but that hasn't existing in quite a while, and definitely not on Oracle JDKs.
PDE bombs with the following:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/scripts/productBuild/productBuild.xml:42: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/scripts/build.xml:94: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/templates/headless-build/customTargets.xml:110: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/templates/headless-build/customTargets.xml:46: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/templates/headless-build/customTargets.xml:12: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/scripts/productBuild/allElements.xml:20: The following error occurred while executing this line:
[java] .../Vega/build/buildpack/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.8.0.v20120119-1950/scripts/genericTargets.xml:72: The following error occurred while executing this line:
[java] .../Vega/build/stage/features/org.eclipse.pde.build.container.feature/build.xml:202: The following error occurred while executing this line:
[java] .../Vega/build/stage/features/org.eclipse.pde.build.container.feature/build.xml:16: The following error occurred while executing this line:
[java] .../Vega/build/stage/features/com.subgraph.vega.feature/build.xml:391: The following error occurred while executing this line:
[java] .../Vega/build/stage/features/com.subgraph.vega.feature/build.xml:14: The following error occurred while executing this line:
[java] .../Vega/build/stage/plugins/com.subgraph.vega.ui.hexeditor/build.xml:31: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/Classes does not exist.
[java]
[java] Total time: 1 second
I realize that PDE is not your product, but I do get the impression that you have influence over the version of PDE in use, so perhaps a more modern version wouldn't be so obtuse about things.
For what it's worth, I tried patching up the bogus build.xml files with the following snippet, but somewhere in the sprawling Ant scripts it was overwriting my changes with vanilla ones.
for i in `grep -rl /Classes build/stage`
do
sed -i.bak -E -e 's#property="dir_bootclasspath" value="\${java.home}/../Classes"#property="\${os.name}" value="Mac OS X"#' "$i"
done
Thanks for bringing this to our attention, we will definitely investigate as we are working on another project that relies on PDE.