| 
| Using the "pde.build" target of generated ant scripts [message #1281] | Fri, 18 April 2008 10:43  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: le_nemo.yahoo.fr 
 Hello,
 
 I am trying to use the "pde.build" target of ant scripts generated by
 PDE. I use the command specified in the the documentation. In my case,
 it is :
 
 java -Xmx1024m -jar
 /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x _v20080118.jar
 -application org.eclipse.ant.core.antRunner -buildfile
 /full/path/to/my/project/build.xml -target main
 
 The scripts are running well, until :
 
 fetchElement:
 
 BUILD FAILED
 /full/path/to/my/project/build.xml:34: The following error occured
 while executing this line:
 /full/path/to/my/project/build.xml:77: The following error occured
 while executing this line:
 /full/path/to/my/project/customTargets.xml:10: The following error
 occured while executing this line:
 /full/path/to/my/project/allElements.xml:12: The following error
 occured while executing this line:
 /full/path/to/my/project/genericTargets.xml:42: Problem: failed to
 create task or type eclipse.fetch
 Cause: The name is undefined.
 Action: Check the spelling.
 Action: Check that any custom tasks/type have been declared.
 Action: CHeck that any <presetdef>/<macrodef> declarations have taken
 place.
 
 I looked in the genericTargets.xml at line 42, and it seems to be all
 right (this file is generated by PDE).
 
 Is there something i did wrong ?
 The scripts are executed on a GNU/Linux machine, with Eclipse 3.3.2
 (Europa).
 
 Thank you,
 
 Francois-Xavier Bru
 |  |  |  | 
|  | 
| 
| Re: Using the "pde.build" target of generated ant scripts [message #1878 is a reply to message #1303] | Mon, 21 April 2008 04:38  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: le_nemo.yahoo.fr 
 Thank you for your answer,
 
 I don't know why today the problem is resolved. As you say, something
 was surely missing, or the paths were not up to date. So i'm sorry for
 disturbing you.
 
 But your suggestion to look at the osgi console when problems happens
 will be helpfull for me.
 
 Good bye
 
 Dans son message précédent, Andrew Niefer a écrit :
 > "eclipse.fetch" is a custom task provided by org.eclipse.pde.build.  It is
 > expected that the org.eclipse.ant.core.antRunner application will set up the
 > ant classpaths properly so that this and other custom tasks are found
 > properly.
 >
 > Does /opt/eclipse contain a full eclipse install?
 > You could try running something like
 >
 > java -jar  plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.ja r
 >   -application org.eclipse.ant.core.antRunner -console -noexit
 >
 > And at the osgi console, type "ss org.eclipse.pde.build" to see if the
 > pde.build   is active or at least resolved.
 >
 > -Andrew
 >
 > Francois-Xavier Bru wrote:
 >> Hello,
 >>
 >> I am trying to use the "pde.build" target of ant scripts generated by PDE.
 >> I use the command specified in the the documentation. In my case, it is :
 >>
 >> java -Xmx1024m -jar
 >>  /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x _v20080118.jar
 >> -application org.eclipse.ant.core.antRunner -buildfile
 >> /full/path/to/my/project/build.xml -target main
 >>
 >> The scripts are running well, until :
 >>
 >> fetchElement:
 >>
 >> BUILD FAILED
 >> /full/path/to/my/project/build.xml:34: The following error occured while
 >> executing this line:
 >> /full/path/to/my/project/build.xml:77: The following error occured while
 >> executing this line:
 >> /full/path/to/my/project/customTargets.xml:10: The following error occured
 >> while executing this line:
 >> /full/path/to/my/project/allElements.xml:12: The following error occured
 >> while executing this line:
 >> /full/path/to/my/project/genericTargets.xml:42: Problem: failed to create
 >> task or type eclipse.fetch
 >> Cause: The name is undefined.
 >> Action: Check the spelling.
 >> Action: Check that any custom tasks/type have been declared.
 >> Action: CHeck that any <presetdef>/<macrodef> declarations have taken
 >> place.
 >>
 >> I looked in the genericTargets.xml at line 42, and it seems to be all right
 >> (this file is generated by PDE).
 >>
 >> Is there something i did wrong ?
 >> The scripts are executed on a GNU/Linux machine, with Eclipse 3.3.2
 >> (Europa).
 >>
 >> Thank you,
 >>
 >> Francois-Xavier Bru
 >>
 >>
 |  |  |  | 
| 
| Re: Using the "pde.build" target of generated ant scripts [message #565877 is a reply to message #1281] | Fri, 18 April 2008 16:00  |  | 
| Eclipse User  |  |  |  |  | "eclipse.fetch" is a custom task provided by org.eclipse.pde.build.  It is expected that the org.eclipse.ant.core.antRunner application will set up the ant
 classpaths properly so that this and other custom tasks are found properly.
 
 Does /opt/eclipse contain a full eclipse install?
 You could try running something like
 
 java -jar  plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.ja r
 -application org.eclipse.ant.core.antRunner -console -noexit
 
 And at the osgi console, type "ss org.eclipse.pde.build" to see if the pde.build
 is active or at least resolved.
 
 -Andrew
 
 Francois-Xavier Bru wrote:
 > Hello,
 >
 > I am trying to use the "pde.build" target of ant scripts generated by
 > PDE. I use the command specified in the the documentation. In my case,
 > it is :
 >
 > java -Xmx1024m -jar
 >  /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x _v20080118.jar
 > -application org.eclipse.ant.core.antRunner -buildfile
 > /full/path/to/my/project/build.xml -target main
 >
 > The scripts are running well, until :
 >
 > fetchElement:
 >
 > BUILD FAILED
 > /full/path/to/my/project/build.xml:34: The following error occured while
 > executing this line:
 > /full/path/to/my/project/build.xml:77: The following error occured while
 > executing this line:
 > /full/path/to/my/project/customTargets.xml:10: The following error
 > occured while executing this line:
 > /full/path/to/my/project/allElements.xml:12: The following error occured
 > while executing this line:
 > /full/path/to/my/project/genericTargets.xml:42: Problem: failed to
 > create task or type eclipse.fetch
 > Cause: The name is undefined.
 > Action: Check the spelling.
 > Action: Check that any custom tasks/type have been declared.
 > Action: CHeck that any <presetdef>/<macrodef> declarations have taken
 > place.
 >
 > I looked in the genericTargets.xml at line 42, and it seems to be all
 > right (this file is generated by PDE).
 >
 > Is there something i did wrong ?
 > The scripts are executed on a GNU/Linux machine, with Eclipse 3.3.2
 > (Europa).
 >
 > Thank you,
 >
 > Francois-Xavier Bru
 >
 >
 |  |  |  | 
| 
| Re: Using the "pde.build" target of generated ant scripts [message #566024 is a reply to message #1303] | Mon, 21 April 2008 04:38  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: le_nemo.yahoo.fr 
 Thank you for your answer,
 
 I don't know why today the problem is resolved. As you say, something
 was surely missing, or the paths were not up to date. So i'm sorry for
 disturbing you.
 
 But your suggestion to look at the osgi console when problems happens
 will be helpfull for me.
 
 Good bye
 
 Dans son message précédent, Andrew Niefer a écrit :
 > "eclipse.fetch" is a custom task provided by org.eclipse.pde.build.  It is
 > expected that the org.eclipse.ant.core.antRunner application will set up the
 > ant classpaths properly so that this and other custom tasks are found
 > properly.
 >
 > Does /opt/eclipse contain a full eclipse install?
 > You could try running something like
 >
 > java -jar  plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.ja r
 >   -application org.eclipse.ant.core.antRunner -console -noexit
 >
 > And at the osgi console, type "ss org.eclipse.pde.build" to see if the
 > pde.build   is active or at least resolved.
 >
 > -Andrew
 >
 > Francois-Xavier Bru wrote:
 >> Hello,
 >>
 >> I am trying to use the "pde.build" target of ant scripts generated by PDE.
 >> I use the command specified in the the documentation. In my case, it is :
 >>
 >> java -Xmx1024m -jar
 >>  /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x _v20080118.jar
 >> -application org.eclipse.ant.core.antRunner -buildfile
 >> /full/path/to/my/project/build.xml -target main
 >>
 >> The scripts are running well, until :
 >>
 >> fetchElement:
 >>
 >> BUILD FAILED
 >> /full/path/to/my/project/build.xml:34: The following error occured while
 >> executing this line:
 >> /full/path/to/my/project/build.xml:77: The following error occured while
 >> executing this line:
 >> /full/path/to/my/project/customTargets.xml:10: The following error occured
 >> while executing this line:
 >> /full/path/to/my/project/allElements.xml:12: The following error occured
 >> while executing this line:
 >> /full/path/to/my/project/genericTargets.xml:42: Problem: failed to create
 >> task or type eclipse.fetch
 >> Cause: The name is undefined.
 >> Action: Check the spelling.
 >> Action: Check that any custom tasks/type have been declared.
 >> Action: CHeck that any <presetdef>/<macrodef> declarations have taken
 >> place.
 >>
 >> I looked in the genericTargets.xml at line 42, and it seems to be all right
 >> (this file is generated by PDE).
 >>
 >> Is there something i did wrong ?
 >> The scripts are executed on a GNU/Linux machine, with Eclipse 3.3.2
 >> (Europa).
 >>
 >> Thank you,
 >>
 >> Francois-Xavier Bru
 >>
 >>
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03557 seconds