Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » pde.exportPlugins failed
pde.exportPlugins failed [message #44118] Tue, 03 February 2009 05:17 Go to next message
Eclipse UserFriend
I want to make jar file of my plugin using ANT.
<target name="pe" depends="init">
<pde.exportPlugins destination="${tempPlugin}" exportSource="false"
exportType="directory" plugins="Project_Wizard" useJARFormat="true"/>
</target>

After run command i got message:
D:\ANT>ant pe
I got messase:
BUILD FAILED
D:\ANT\build.xml:54: taskdef doesn't support the "class" attribute



Can any one help me for this.
Re: pde.exportPlugins failed [message #44149 is a reply to message #44118] Tue, 03 February 2009 07:25 Go to previous messageGo to next message
Eclipse UserFriend
> D:ANTbuild.xml:54: taskdef doesn't support the "class" attribute
You have to write a taskdef with a 'classname' attribute.
http://ant.apache.org/manual/CoreTasks/taskdef.html

> I want to make jar file of my plugin using ANT.
> <target name="pe" depends="init">
> <pde.exportPlugins destination="${tempPlugin}" exportSource="false"
> exportType="directory" plugins="Project_Wizard" useJARFormat="true"/>
> </target>

> After run command i got message:
> D:ANT>ant pe
> I got messase:
> BUILD FAILED
> D:ANTbuild.xml:54: taskdef doesn't support the "class" attribute



> Can any one help me for this.
The error messages tells it
Re: pde.exportPlugins failed [message #44180 is a reply to message #44149] Tue, 03 February 2009 08:38 Go to previous messageGo to next message
Eclipse UserFriend
thanks!

I set taskdef by using

<taskdef name="pde.exportPlugins"
classname="org.eclipse.ant.core.antRunner"/>


BUILD FAILED
D:\NFCProject\ANT\build.xml:54: taskdef class
org.eclipse.ant.core.antRunner can
not be found

My goal is to make Eclipse plug-in by using ANT not from eclipse export
wizard.
is there any other solution for this.
Re: pde.exportPlugins failed [message #44242 is a reply to message #44180] Tue, 03 February 2009 11:00 Go to previous messageGo to next message
Eclipse UserFriend
look for the project http://www.pluginbuilder.org/
and some tutorials on pde-build (for example
http://rcpquickstart.com/2007/06/06/getting-started-with-pde -build/)
Re: pde.exportPlugins failed [message #44392 is a reply to message #44180] Tue, 03 February 2009 14:53 Go to previous messageGo to next message
Eclipse UserFriend
The pde.exportPlugins task needs eclipse to be running in order to work,
it is essentially doing an export from the workspace (which is slightly
different from a headless build).

To use it you will need to start ant using the eclipse antrunner:
eclipse -application org.eclipse.ant.core.antRunner <ant command line>

-Andrew

Dhirendra Rawal wrote:
> thanks!
>
> I set taskdef by using
> <taskdef name="pde.exportPlugins"
> classname="org.eclipse.ant.core.antRunner"/>
>
>
> BUILD FAILED
> D:\NFCProject\ANT\build.xml:54: taskdef class
> org.eclipse.ant.core.antRunner can
> not be found
>
> My goal is to make Eclipse plug-in by using ANT not from eclipse export
> wizard.
> is there any other solution for this.
>
>
Re: pde.exportPlugins failed [message #45280 is a reply to message #44392] Thu, 05 February 2009 03:24 Go to previous message
Eclipse UserFriend
thanks to all of you.
now I am able to make jar by eclipse antRunner.
But i want to do it using ANT only no eclipse ,i tried to it by putting
antRunnner jar in seprate folder but still facing error and problem.
Is anyone has idea about it.
Please help.
Re: pde.exportPlugins failed [message #591144 is a reply to message #44118] Tue, 03 February 2009 07:25 Go to previous message
Eclipse UserFriend
> D:ANTbuild.xml:54: taskdef doesn't support the "class" attribute
You have to write a taskdef with a 'classname' attribute.
http://ant.apache.org/manual/CoreTasks/taskdef.html

> I want to make jar file of my plugin using ANT.
> <target name="pe" depends="init">
> <pde.exportPlugins destination="${tempPlugin}" exportSource="false"
> exportType="directory" plugins="Project_Wizard" useJARFormat="true"/>
> </target>

> After run command i got message:
> D:ANT>ant pe
> I got messase:
> BUILD FAILED
> D:ANTbuild.xml:54: taskdef doesn't support the "class" attribute



> Can any one help me for this.
The error messages tells it
Re: pde.exportPlugins failed [message #591150 is a reply to message #44149] Tue, 03 February 2009 08:38 Go to previous message
Eclipse UserFriend
thanks!

I set taskdef by using

<taskdef name="pde.exportPlugins"
classname="org.eclipse.ant.core.antRunner"/>


BUILD FAILED
D:\NFCProject\ANT\build.xml:54: taskdef class
org.eclipse.ant.core.antRunner can
not be found

My goal is to make Eclipse plug-in by using ANT not from eclipse export
wizard.
is there any other solution for this.
Re: pde.exportPlugins failed [message #591180 is a reply to message #44180] Tue, 03 February 2009 11:00 Go to previous message
Eclipse UserFriend
look for the project http://www.pluginbuilder.org/
and some tutorials on pde-build (for example
http://rcpquickstart.com/2007/06/06/getting-started-with-pde -build/)
Re: pde.exportPlugins failed [message #591222 is a reply to message #44180] Tue, 03 February 2009 14:53 Go to previous message
Eclipse UserFriend
The pde.exportPlugins task needs eclipse to be running in order to work,
it is essentially doing an export from the workspace (which is slightly
different from a headless build).

To use it you will need to start ant using the eclipse antrunner:
eclipse -application org.eclipse.ant.core.antRunner <ant command line>

-Andrew

Dhirendra Rawal wrote:
> thanks!
>
> I set taskdef by using
> <taskdef name="pde.exportPlugins"
> classname="org.eclipse.ant.core.antRunner"/>
>
>
> BUILD FAILED
> D:\NFCProject\ANT\build.xml:54: taskdef class
> org.eclipse.ant.core.antRunner can
> not be found
>
> My goal is to make Eclipse plug-in by using ANT not from eclipse export
> wizard.
> is there any other solution for this.
>
>
Re: pde.exportPlugins failed [message #591483 is a reply to message #44392] Thu, 05 February 2009 03:24 Go to previous message
Eclipse UserFriend
thanks to all of you.
now I am able to make jar by eclipse antRunner.
But i want to do it using ANT only no eclipse ,i tried to it by putting
antRunnner jar in seprate folder but still facing error and problem.
Is anyone has idea about it.
Please help.
Previous Topic:Can I use ant build rcp product?Anybody has correct example?
Next Topic:Where can I find the exported jars ?
Goto Forum:
  


Current Time: Sun Jul 13 12:34:02 EDT 2025

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

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

Back to the top