|
From: Marc T. <MT...@bl...> - 2007-08-24 19:11:57
|
Hi, I would like to start a database server (HSQLDB) as a Windows service. The database server needs to be started in its data directory, so I specified wrapper.working.dir=3DC:\data. Now, if I specify all other paths as absolute paths (e.g. wrapper.java.classpath.1=3DC:\Program Files\MyApp\wrapper.jar), = everything is fine. =20 I was wondering whether there would be a more portable way, especially since the application may be installed in a user chosen directory. For example, if the wrapper.exe path was available in a wrapper variable, I could use it to set up all paths relative to the wrapper.exe location, a bit the way it is when wrapper.working.dir is not set. I was hoping to use %CD%, but this Windows variable does not seem to be available within the wrapper. =20 Thanks, =20 Marc |