You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Aswath Satrasala <as...@gmail.com> on 2005/12/22 03:47:28 UTC

build.bat file bug

Hi,
I have a small patch to the file build.bat

java -classpath %rocp% org.apache.tools.ant.Main %1 %2 %3 %4 %5
This was failing if JAVA_HOME was pointing to a path containing a space.
For example
c:\Program Files\java\jdk1.5


quotes is needed around  "%rocp%"
java -classpath "%rocp%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

-Aswath

Re: build.bat file bug

Posted by Dave Johnson <da...@rollerweblogger.org>.
Done. Thanks for the fix.

  - Dave


On Dec 21, 2005, at 9:47 PM, Aswath Satrasala wrote:

> Hi,
> I have a small patch to the file build.bat
>
> java -classpath %rocp% org.apache.tools.ant.Main %1 %2 %3 %4 %5
> This was failing if JAVA_HOME was pointing to a path containing a 
> space.
> For example
> c:\Program Files\java\jdk1.5
>
>
> quotes is needed around  "%rocp%"
> java -classpath "%rocp%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
>
> -Aswath