export plugin classes to project [message #145663] |
Fri, 17 October 2003 09:11 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07068 seconds