Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » dynamic classpath
dynamic classpath [message #261403] Wed, 14 July 2004 02:58
Eclipse UserFriend
Originally posted by: t1.s-neubert.net

Hi,

I am learning the development of eclipse plugins using the book
"Contributing to eclipse" from Erich Gamma and Kent Beck. They write an
example action which should start junit in a separate virtual machine.
Therefor they need to compute the classpath like this:

-----------------------------------
String[] defaultPath = JavaRuntime.computeDefaultRuntimeClassPath(project);
-----------------------------------

But it seems to work only if I imported the org.junit plugin into my
workspace, because otherwise the junit.jar will not be present within the
defaultPath.

Can anybody tell me how to compute the classpath entry for a given plugin,
in my case for the org.junit plugin?

Kind Regards,
Tobias
Previous Topic:tool bar question
Next Topic:Automatic generation of tarballs in viewcvs not enabled
Goto Forum:
  


Current Time: Tue Jul 22 22:12:04 EDT 2025

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

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

Back to the top