You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/09 22:17:04 UTC

DO NOT REPLY [Bug 20626] New: - %ANT_HOME/bin/lcp.bat: incorrect logic

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20626>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20626

%ANT_HOME/bin/lcp.bat: incorrect logic 

           Summary: %ANT_HOME/bin/lcp.bat: incorrect logic
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: dev@ant.apache.org
        ReportedBy: joel.regen@ccitriad.com


In the script %ANT_HOME/bin/lcp.bat (shown below), 
the line:         set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1

should really be: set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT%;%1

The space should be a semicolon.

******************* begin lcp.bat *******************************
set _CLASSPATHCOMPONENT=%1
if ""%1""=="""" goto gotAllArgs
shift

:argCheck
if ""%1""=="""" goto gotAllArgs
set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
shift
goto argCheck

:gotAllArgs
set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
******************* end lcp.bat *******************************

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org