Hi, I'm having a problem with the PDE builder , apparently not finding
my plugin or the correct "version" of my plugin while trying to build a
feature headless. I've created a build.xml that I execute with ant in
which I invoke the PDE builder with the following java Ant task...
<java dir="${basedir}"
jar="${teamConcert.binaries}/eclipse/plugins/${org.eclipse.equinox.launcher}"
fork="true"
failonerror="false"
resultproperty="pdebuildReturnCode"
output="${pdebuild.log}">
<jvmarg value="-Xmx1024M" />
<arg line="-data ${working.dir}/workspace" />
<arg line="-application org.eclipse.ant.core.antRunner" />
<arg line="-buildfile
${teamConcert.binaries}/eclipse/plugins/${pde.build}/scripts/build.xml" />
<arg line="-Dbuilder=${working.dir}" />
<arg value="-Dbase=${teamConcert.binaries}" />
<arg value="-DbaseLocation=${teamConcert.binaries}/eclipse" />
<arg value="-DbuildId=${buildId}" />
<arg value="-DbuildDirectory=${working.dir}" />
</java>
PDE appears to get invoked but ultimately complains with the following
error message.
BUILD FAILED
/opt/IBM/jazz/client/eclipse/plugins/org.eclipse.pde.build_3.3.1.v20070828/scripts/build.xml:24:
The following error occurred while executing this line:
/opt/IBM/jazz/client/eclipse/plugins/org.eclipse.pde.build_3.3.1.v20070828/scripts/build.xml:64:
The following error occurred while executing this line:
/opt/ibm/jazz/client/eclipse/plugins/org.eclipse.pde.build_3.3.1.v20070828/templates/headless-build/customTargets.xml:10:
The following error occurred while executing this line:
/opt/ibm/jazz/buildsystem/buildengine/eclipse/fetched/working.dirs/I20080226-1316/allElements.xml:12:
The following error occurred while executing this line:
/opt/ibm/jazz/client/eclipse/plugins/org.eclipse.pde.build_3.3.1.v20070828/scripts/genericTargets.xml:85:
Unable to find plug-in: com.ibm.stg.wvcm.cmvc_0.0.0. Please check the
error log for more details.
My feature is set to synchronize versions during build. The file system
structure where I'm trying to build out of looks like this....
-bash-3.00$ ls -l
total 24
-rw-r--r-- 1 root root 1816 Feb 26 13:16 allElements.xml
-rw-r--r-- 1 root root 283 Feb 26 13:16 build.properties
drwxr-xr-x 3 root root 4096 Feb 26 13:16 features
drwxr-xr-x 2 root root 4096 Feb 26 13:16 logs
drwxr-xr-x 6 root root 4096 Feb 26 13:16 plugins
drwxr-xr-x 3 root root 4096 Feb 26 13:16 workspace
-bash-3.00$ ls -l features
total 4
drwxr-xr-x 2 root root 4096 Feb 26 13:16 com.ibm.stg.wvcm.cmvc.feature
-bash-3.00$ ls -l plugins
total 16
drwxr-xr-x 4 root root 4096 Feb 26 13:16 com.ibm.rational.wvcm.ri
drwxr-xr-x 4 root root 4096 Feb 26 13:16 com.ibm.rational.wvcm.tck
drwxr-xr-x 5 root root 4096 Feb 26 13:16 com.ibm.stg.wvcm.cmvc
drwxr-xr-x 5 root root 4096 Feb 26 13:16 javax.wvcm
Can anyone shed any light?
--Mark