I'm currently trying to get it to work without headless pde-build, but I'm stuck at a point where I don't know how to proceed. The problem is how to determine the appropriate target platform for compiling the plugins. I have build.bat with the following call (all on one line!):
java -jar D:\target\eclipse\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application org.eclipse.ant.core.antRunner -f D:\target\eclipse\plugins\org.eclipse.pde.build_3.5.2.R35x_20100114\scripts\productBuild\productBuild.xml -Dbuilder=c:\pde-build\scripts %*
I tried to create the target eclipse platform from different parts: Eclipse SDK, RCP SDK, Delta Pack, PDE-SDK in all combinations, but none of them worked well.
I got the following error:
BUILD FAILED D:\target\eclipse\plugins\org.eclipse.pde.build_3.5.2.R35x_20100114\scripts\productBuild\productBuild.xml:18: Cannot fin d ${eclipse.pdebuild.scripts}/build.xml imported from D:\target\eclipse\plugins\org.eclipse.pde.build_3.5.2.R35x_2010011 4\scripts\productBuild\productBuild.xml
where the variable $ {eclipse.pdebuild.scripts} is not resolved. I also tried giving this parameter via the command line, but then I got another error regarding the missing svn task, which is completely confusing since it works with my referenced eclipse local installation.
When I replace the path from d: / target / eclipse to the local eclipse installation, the pde build works as expected! This leads me to the fact that the configuration of the target eclipse is incorrect, but at the moment when I have no idea how to configure it!
My goal is to automate the build of pde first on my local site without a link to my local eclipse, and then integrate this build process into our executable cruisecontrol instance.
As I already noticed another question about determining the target eclipse, I would be glad if anyone could make hints or facts about the problem.
Regards, Andreas
eclipse build headless pde target-platform
Andreas
source share