Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Adding jar to classpath whilst debugging new Plugin
Adding jar to classpath whilst debugging new Plugin [message #148475] Sat, 13 March 2004 08:50
Eclipse UserFriend
I am trying to create a new plugin dependent on an external jar file (i.e.
xerces) - I can write the code for the plugin (as the xerces jar file is on
the build path)

but when I try and run the project as a "Run Time Workbench" the xerces jar
is not on the path and so the plugin does not work. I have looked around the
help but cannot see an answer (I am using Eclipse 3M7) - I can see on the
Plugin Manifest Editor | Run-time information page that I can define
libraries that need to be included in the classpath and have tried various
ways to add the xerces jar file but it still does not want to play ball.

Looking at the build.properties I can see that I can have a source folder
inside the project which contains the jar files and then I can use the
"Build Configuration" view to add extra class path dependencies. I managed
to get it to add xercesImpl.jar (the script then included the text
jars.extra.classpath = jarfiles/xercesImpl.jar

) but it would still not run.

I give in - please tell me the magic button to press in Eclipse to add the
extra jar - I implore you

Howard
Previous Topic:Scrapbook error?
Next Topic:Newsgroup connection
Goto Forum:
  


Current Time: Sat Jul 19 13:31:45 EDT 2025

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

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

Back to the top