Mission critical problem getting System properites [message #265981] |
Sun, 08 August 2004 22:37  |
Eclipse User |
|
|
|
Hi,
I have a Libs Plugin, a plugin that contains and exports a number of jar
files. Some of the jar files have files in the META-INF/services
folder. Some of the files access the data in the META-INF folder by
using the System.getProperties() method. In a normal Java program this
works with no problems. However, it does not recognize the properties
defined in the META-INF folder like normally.
Is there any work arounds for this? This is a pretty critical issue for
me.
Thank you,
Jesse
|
|
|
|
Re: Mission critical problem getting System properites [message #266005 is a reply to message #265983] |
Sun, 08 August 2004 23:48  |
Eclipse User |
|
|
|
Chris Laffra wrote:
> As far as I know, the Eclipse plug-in classloader does not scan the meta-inf
> directories for any files to be added to the System properties. You could
> implement that by hand, in your plug-in's startup method by adding all the
> values using System.getProperties().put("key", "value"); (if that works).
I was afraid of that but I wanted some confirmation before I went ahead
and made the load method by hand.
Thanks for the help, I appreciate it.
Jesse
|
|
|
Powered by
FUDForum. Page generated in 0.04304 seconds