| 
| Problem with custom Ant Task inheriting from abstract Task located in different plug-in [message #327143] | Fri, 11 April 2008 08:48 |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.11222 seconds