LinkageError when executing an Ant task that implement BuildListener [message #326781] |
Tue, 01 April 2008 08:47  |
Eclipse User |
|
|
|
Originally posted by: patrick.laplante.cmcelectronics.ca
Hi,
I have a plugin that contains ANT tasks. One of these task implement
org.apache.tools.ant.BuildListener
All the tasks are working fine except the one implementing BuildListener.
I receive:
BUILD FAILED
Test.xml:18: The following error occurred while executing this line:
java.lang.LinkageError: org/apache/tools/ant/BuildEvent
when launching the target inside eclipse. Some interesting observation:
1- This task works when the target is launched from outside eclipse.
2- Also, it works inside eclipse but when I launch the build in the same
JVM and this is not exactly what I want.
Hope someone can help
thanks
|
|
|
Re: LinkageError when executing an Ant task that implement BuildListener [message #326900 is a reply to message #326781] |
Wed, 02 April 2008 18:58  |
Eclipse User |
|
|
|
I would take an educated guess that your Ant tasks were compiled against an
incompatible version of BuildEvent.
Are you using the same Ant home entries for all runs?
HTH
Darins
http://runnerwhocodes.blogspot.com
"Patrick laplante" <patrick.laplante@cmcelectronics.ca> wrote in message
news:920b5d85edcf5f6eab5e5b023d03adff$1@www.eclipse.org...
> Hi,
>
> I have a plugin that contains ANT tasks. One of these task implement
> org.apache.tools.ant.BuildListener
>
> All the tasks are working fine except the one implementing BuildListener.
> I receive:
> BUILD FAILED
> Test.xml:18: The following error occurred while executing this line:
> java.lang.LinkageError: org/apache/tools/ant/BuildEvent
>
> when launching the target inside eclipse. Some interesting observation:
> 1- This task works when the target is launched from outside eclipse.
> 2- Also, it works inside eclipse but when I launch the build in the same
> JVM and this is not exactly what I want.
>
> Hope someone can help
>
> thanks
>
|
|
|
Powered by
FUDForum. Page generated in 0.02853 seconds