Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with custom Ant Task inheriting from abstract Task located in different plug-in
Problem with custom Ant Task inheriting from abstract Task located in different plug-in [message #327143] Fri, 11 April 2008 12:48
Lars Heinemann is currently offline Lars HeinemannFriend
Messages: 37
Registered: July 2009
Member
Hi all,

i am developing a custom ant task inheriting from another abstract ant
task located in a second plug-in.
When using the ant task i get the following linkage error:

org.eclipse.core.runtime.CoreException:
/home/vr/vr4build/build/eclipse/de.visualrules.ant.java.exec ution.tests/AntTestProjectTestProject/build.xml:7:
java.lang.LinkageError: loader constraint violation: when resolving
method
" de.visualrules.ant.java.execution.internal.VRTest.getProject ()Lorg/apache/tools/ant/Project; "
the class loader (instance of
org/eclipse/ant/internal/core/AntClassLoader) of the current class,
de/visualrules/ant/java/execution/internal/VRTest, and the class loader
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
for resolved class, de/visualrules/ant/java/execution/internal/VRTest,
have different Class objects for the type org/apache/tools/ant/Project
used in the signature

Does anyone have an idea how to solve this problem?

Cheers,
Lars
Previous Topic:org.apache.tools.ant.Task#getProject() returns null in custom ant task when called from within JUnit
Next Topic:TreeViewer inputChanged
Goto Forum:
  


Current Time: Tue Jul 16 13:57:01 GMT 2024

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

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

Back to the top