Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » pde.exportPlugins failed
pde.exportPlugins failed [message #44118] Tue, 03 February 2009 10:17 Go to next message
Dhirendra Rawal is currently offline Dhirendra RawalFriend
Messages: 6
Registered: July 2009
Junior Member
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 12:25 Go to previous messageGo to next message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
> 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 13:38 Go to previous messageGo to next message
Dhirendra Rawal is currently offline Dhirendra RawalFriend
Messages: 6
Registered: July 2009
Junior Member
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 16:00 Go to previous messageGo to next message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
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 19:53 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
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 08:24 Go to previous message
Dhirendra Rawal is currently offline Dhirendra RawalFriend
Messages: 6
Registered: July 2009
Junior Member
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 12:25 Go to previous message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
> 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 13:38 Go to previous message
Dhirendra Rawal is currently offline Dhirendra RawalFriend
Messages: 6
Registered: July 2009
Junior Member
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 16:00 Go to previous message
Matthias Kappeller is currently offline Matthias KappellerFriend
Messages: 54
Registered: July 2009
Member
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 19:53 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
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 08:24 Go to previous message
Dhirendra Rawal is currently offline Dhirendra RawalFriend
Messages: 6
Registered: July 2009
Junior Member
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: Fri Mar 29 08:27:50 GMT 2024

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

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

Back to the top