Hi,
I want to set the working directory as
\webserver-catalina so i used
SetOutPath "$EXEDIR\webserver-catalina"
Now in classpath, every path starts from $EXEDIR
so, i used ../ at the start of every path.
But it is not giving me correct result.
I searched the NSIS archive and i came across with
"Repair path names with ../ "
Do I need to write that lengthy script to achieve such a small thing.
Please suggest...
Thanx
Some problem with setting path
4 posts
GetFullPathName $0 $EXEDIR\..
but i hv to set more than 100 jars in the classpath and its not possible to first store each of them in a variable & then put in the classpath.
Also if i use like
GetFullPathName $0 "$OUTDIR\.."
!define CLASSPATH "$0/lib/ccpSupport/some.jar;.....
....more jars
It wont work even.
Also if i use like
GetFullPathName $0 "$OUTDIR\.."
!define CLASSPATH "$0/lib/ccpSupport/some.jar;.....
....more jars
It wont work even.
Well, if all slashes must be forward slashes, then you will have to convert $EXEDIR and use that (with either function from the archive or strings.nsh). I don't see a reason why ../ shouldn't work, but that's to do with Java itself and not NSIS.