Hi,
Is it possible to set the current directory of a java product to be a property i.e. APP_DIR?
Our apps usually have a layout of
APP_DIR\bin
launchers - e.g. batch files, shell scripts, or in this case, AI "java product" .exe
APP_DIR\lib
*.jar
APP_DIR\conf
*.properties, configuration files etc
APP_DIR\log
log files
And when the applications start, their current location should be APP_DIR.
In other words, I want the AI .exe to be created in APP_DIR\bin (I moved the exe in the files/folders tree), but it's current location to be APP_DIR\
I can see that I can "set product folder as current" - so the current dir becomes "bin" - and without that flag, current directory is C:\Windows.
Regards,
Charles