the rcpclient.properties are located within the -jar of the client-plugin. thats nonsense. it should be located in /configuration/org.xinity.client/...
you might find the code below useful.
String Plugindir =
Platform.resolve(pluginclass.getDefault().getDescriptor().getInstallURL()).getFile();
that will give you the exact path to the plugin root
Logged In: YES
user_id=1004840
*********
COMMENTS
*********
Tobias(13.10.04 15:19:41):
The way to do it that doesn't involve now deprecated methods is: Platform.resolve(pluginclass.getDefault().getBundle().getEntry("/")).getFile(); But be aware this still may not produce a system file path. The plugin location may actually be within a jar file, or it may be on another system.
------
Logged In: YES
user_id=1004840
*********
COMMENTS
*********
Tobias(13.10.04 15:19:41):
The way to do it that doesn't involve now deprecated methods is: Platform.resolve(pluginclass.getDefault().getBundle().getEntry("/")).getFile(); But be aware this still may not produce a system file path. The plugin location may actually be within a jar file, or it may be on another system.
------
Logged In: YES
user_id=1004840
*********
COMMENTS
*********
Tobias(13.10.04 15:19:41):
The way to do it that doesn't involve now deprecated methods is: Platform.resolve(pluginclass.getDefault().getBundle().getEntry("/")).getFile(); But be aware this still may not produce a system file path. The plugin location may actually be within a jar file, or it may be on another system.
------
Logged In: YES
user_id=1004840
*********
COMMENTS
*********
Tobias(13.10.04 15:19:41):
The way to do it that doesn't involve now deprecated methods is: Platform.resolve(pluginclass.getDefault().getBundle().getEntry("/")).getFile(); But be aware this still may not produce a system file path. The plugin location may actually be within a jar file, or it may be on another system.
------
Logged In: YES
user_id=1004840
*********
COMMENTS
*********
Tobias(13.10.04 15:19:41):
The way to do it that doesn't involve now deprecated methods is: Platform.resolve(pluginclass.getDefault().getBundle().getEntry("/")).getFile(); But be aware this still may not produce a system file path. The plugin location may actually be within a jar file, or it may be on another system.
------