Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » export plugin classes to project
export plugin classes to project [message #145663] Fri, 17 October 2003 09:11
Eclipse UserFriend
Hello,

I am writing a plugin that defines a scripting language for which it
also provides an execution environment. The scripting language can be
dynamically extended by writing java classes that implement certain
interfaces.
To write an extension library, the programmer will create a Java project
which will, of course, need to have some of the plugin classes its
classpath in order to compile.

Now I wonder whether there is a way to avoid forcing the developer to
copy the plugin jar file to the new project. What I would like to
achieve is either

- have the relevant plugin JAR automatically added to the classpath of
the new project (could this be done with a new project nature?)
- let the programmer explicitly but conveniently add the reference,
without having to physically locate the plugin (something like a
predefined library ?)

I hope I am making sense.

Also, while searching for a way to achieve the above, I came across the
"add Library" button in the Java Build Path tab of the project
properties dialog. I wonder what the significance of this page is
(beyond the JRE option, which I can make sense of), and how it is
possible to define libraries that appear in that dialog. Right now, I
see 2 selections, namely, "JRE System Library" and "Required Plugins",
where the latter is empty if I proceed. I did not find any documentation
on this. Anyone?

thanks in advance,
Christian
Previous Topic:[JFace] - API's are excrutiatingly painful to use and border on useless.
Next Topic:org.w3c.dom.ls.DOMBuilder ERROR
Goto Forum:
  


Current Time: Thu May 08 13:25:37 EDT 2025

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

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

Back to the top