Which versions of Windows is this correct for? Win95/98/2000/NT/ ?
PS IMHO anyone with spaces in filenames is asking for trouble...
Alex
--- Enrico Schnepel <[EMAIL PROTECTED]> wrote:
> if there are spaces in the classpath I get a NoClassDefFoundError.
>
> The command running Java must contain a '"' arround %CLASPATH% and should
> look like
> %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
> %LOCALCLASSPATH%;"%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
> instead of
> %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath
> %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5
>
> Thanks for merging
>
> Enrico Schnepel
=====
Alex McLintock [EMAIL PROTECTED] Open Source Consultancy in London
OpenWeb Analysts Ltd, http://www.OWAL.co.uk/
DR WHO COMPETITION:
http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104
Get Your XML T-Shirt <t-shirt/> at http://www.inversity.co.uk/
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]