Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » PDE Builder not finding my plugin
PDE Builder not finding my plugin [message #325780] Tue, 26 February 2008 20:58 Go to next message
Eclipse UserFriend
Originally posted by: parrym.us.ibm.com

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.equino x.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/workin g.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
Re: PDE Builder not finding my plugin [message #325783 is a reply to message #325780] Tue, 26 February 2008 23:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: parrym.us.ibm.com

Mark D. Parry wrote:
> 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.equino x.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/workin g.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

After additional investigation it appears this only happens if I set my
feature to "Synchronize versions on build". If I force the version from
the feature I do not get this error. This is using eclipse
3.3.1.R33x_r20070911

--Mark
Re: PDE Builder not finding my plugin [message #325809 is a reply to message #325783] Wed, 27 February 2008 21:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Martin4010.hotmail.com

Did you remember to do some voodo and dance around your computer.
PDE Build is pure magic and must be treated that way ;-)

/M

"Mark D. Parry" <parrym@us.ibm.com> skrev i meddelandet
news:fq25oj$9m0$1@build.eclipse.org...
> Mark D. Parry wrote:
>> 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.equino x.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/workin g.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
>
> After additional investigation it appears this only happens if I set my
> feature to "Synchronize versions on build". If I force the version from
> the feature I do not get this error. This is using eclipse
> 3.3.1.R33x_r20070911
>
> --Mark
Re: PDE Builder not finding my plugin [message #325842 is a reply to message #325783] Thu, 28 February 2008 16:01 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Mark,
The "Unable to find plug-in: com.ibm.stg.wvcm.cmvc_0.0.0" message generally
means that the plugin failed to resolve (3.4 has a better error message here).

What is confusing to me is that you say it works when you force the version from
the feature. I didn't know this option existed until now, but I assume it will
copy the version from the feature into the plugins, though I'm not sure when it
does this.

This seems to imply that changing the versions of the plugins allowed cmvc to
resolve when it otherwise wouldn't have.

The only explanation I can think of is version range restrictions on
Require-Bundle or Import-Package that are only satisfied when you force the
version numbers.


-Andrew
Mark D. Parry wrote:
> Mark D. Parry wrote:
>> 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.equino x.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/workin g.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
>
> After additional investigation it appears this only happens if I set my
> feature to "Synchronize versions on build". If I force the version from
> the feature I do not get this error. This is using eclipse
> 3.3.1.R33x_r20070911
>
> --Mark
Previous Topic:Command in context menu???
Next Topic:Jobs API / Workspace.run() and Display.syncExec()
Goto Forum:
  


Current Time: Sat Jul 13 19:12:45 GMT 2024

Powered by FUDForum. Page generated in 0.03334 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top