-
1. Re: Classpath problem when developing Eclipse Plugin project
nicolas.jouanin Mar 8, 2005 3:31 PM (in response to charleszq)Hi,
I'm faced to the same problem now ...
Did you get an ansmwer or either find an solution ? -
2. Re: Classpath problem when developing Eclipse Plugin project
maxandersen Mar 8, 2005 4:06 PM (in response to charleszq)nothing jboss specific about it....just eclipse hard to see through classloaders playing with you ,)
have you remembered to add it in the plugin.xml as a dependent jar ? -
3. Re: Classpath problem when developing Eclipse Plugin project
nicolas.jouanin Mar 8, 2005 4:10 PM (in response to charleszq)I would be also interested in a solution.
I tried to add jboss client jars (ie copied client/*.jar in my plugin dir.) , then added them as dependency. It seems to work because IDE is able to find the packages and resolve Jboss/J2EE imports.
But when I run my RCP application using this plugin I get this ClassNotFoundException when calling InitialContext( props) -
4. Re: Classpath problem when developing Eclipse Plugin project
nicolas.jouanin Mar 8, 2005 4:13 PM (in response to charleszq)For information, is my plugin.xml :
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <plugin id="com.arcadia.richclient.ejb.tools" name="com.arcadia.richclient.ejb.tools" version="1.0.0" provider-name="" class="com.arcadia.richclient.ejb.tools.EjbToolsPlugin"> <runtime> <library name="jbossall-client.jar"> <export name="*"/> </library> <library name="jboss-client.jar"> <export name="*"/> </library> <library name="jboss-common-client.jar"> <export name="*"/> </library> <library name="jnp-client.jar"> <export name="*"/> </library> <library name="log4j.jar"> <export name="*"/> </library> </runtime> <requires> <import plugin="org.eclipse.core.runtime"/> <import plugin="com.arcadia.richclient.core.libs"/> <import plugin="com.arcadia.richclient.core.tools"/> </requires> </plugin>
-
5. Re: Classpath problem when developing Eclipse Plugin project
nicolas.jouanin Mar 10, 2005 12:42 PM (in response to charleszq)My problem was solved by following Eclipse FAQ 107:
http://www.eclipsefaq.org/chris/faq/html/faq107.html -
6. Re: Classpath problem when developing Eclipse Plugin project
maxandersen Mar 11, 2005 5:25 AM (in response to charleszq)that is a workaround basically overriding the eclipse classloading mechanism ..... should not be used unless you have a very good reason and understanding on what classes is loaded.
just a warning ,) -
7. Re: Classpath problem when developing Eclipse Plugin project
nicolas.jouanin Mar 14, 2005 4:01 AM (in response to charleszq)Well, I don't really see what is hiding this class loading mechanism. But it made my problem solved so I thought that was THE solution.