[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Plugin: query classpath entries

At runtime, each plugin has its own "classpath", which is essentially made up of the prerequisites listed in the "requires" section of your plugin.xml file. You can't really obtain this information at runtime (except perhaps by querying the ClassLoader used by your plugin). However, it's not really necessary to obtain this information at runtime since it's statically determined by the contents of the plugin.xml file (and by the prerequisites of your prerequisites, recursively). Can you elaborate on why you need to compute this?
--


Roman wrote:
Hi everybody,

is it possible to query the classpath entries of my plugin during runtime?
Somehow, "String classPath = System.getProperty("java.class.path");"
doesn't seem to work.


Thank you for your help! :-)
Roman