Hi all,

Is there any way to obtain programmatically the folder where James is
installed? I am thinking of something like: james.getAbsolutePath();

The reason is that currently I put the path to some resources in the
config.xml and then load them at runtime. But if I use relative resources
(like "../conf/resource.txt") they don't work when James is run as service
(that is, from any other folder than $PHOENIX_HOME/bin. And hardcoding
absolute paths is very, very nasty ;-)

Thanks for any help that you can provide!

Isaac.  


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to