#36 Bug in build.cmd file when space in LOG4NET_DIR

v1.2.0
open-fixed
General (51)
5
2003-07-16
2003-07-16
Todd cotten
No

When I ran the build.cmd file I was getting an error
because the LOG4NET_DIR variable had a space in it.

Simple fix - Add double quotes around the nant.exe lines:

"%LOG4NET_DIR%\build\lib\nant\nant.exe" "-buildfile:%
BUILD_FILE%" %1 %2 %3 %4 %5 %6 %7 %8

"%LOG4NET_DIR%\build\lib\nant\nant.exe" "-buildfile:%
BUILD_FILE%" package "-D:package.version=%2" %3 %4
%5 %6 %7 %8

Everything worked after this fix.

Discussion

  • Nicko Cadell

    Nicko Cadell - 2003-07-16
    • milestone: --> v1.2.0
    • status: open --> open-fixed
     
  • Nicko Cadell

    Nicko Cadell - 2003-07-16

    Logged In: YES
    user_id=278872

    Thanks for the bug report. I have made you suggested
    chaanges in CVS. This will be fixed in the next release (i.e.
    post beta8).

     

Log in to post a comment.