Archive: Some problem with setting path


Some problem with setting path
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 ../ "

http://nsis.sourceforge.net/archive/...php?pageid=477

Do I need to write that lengthy script to achieve such a small thing.

Please suggest...

Thanx


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.


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.