ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48186] New: ant.bat file ignores -noclasspath if it is the first parameter
Date Thu, 12 Nov 2009 22:26:04 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48186

           Summary: ant.bat file ignores -noclasspath if it is the first
                    parameter
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: southerland@samsix.com


If -noclasspath is your first parameter then the ant.bat file of version 1.7.1
doesn't recognize it as a special parameter and ends up java with your
classpath and passes -noclasspath on to java.

I have remarked out the offending lines.  Simply remove these lines and it
works correctly.  Here is the diff of my changes.

62,64c62,64
< rem set ANT_CMD_LINE_ARGS=%1
< rem if ""%1""=="""" goto doneStart
< rem shift
---
> set ANT_CMD_LINE_ARGS=%1
> if ""%1""=="""" goto doneStart
> shift

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message