You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/11/12 23:26:04 UTC

DO NOT REPLY [Bug 48186] New: ant.bat file ignores -noclasspath if it is the first parameter

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.

DO NOT REPLY [Bug 48186] ant.bat file ignores -noclasspath if it is the first parameter

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48186

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|notifications@ant.apache.or |
                   |g                           |
         Resolution|                            |FIXED
         AssignedTo|antoine@apache.org          |notifications@ant.apache.or
                   |                            |g

--- Comment #2 from Antoine Levy-Lambert <an...@apache.org> 2010-01-26 09:43:20 UTC ---
committed, thanks.

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

DO NOT REPLY [Bug 48186] ant.bat file ignores -noclasspath if it is the first parameter

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48186

Antoine Levy-Lambert <an...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |notifications@ant.apache.or
                   |                            |g
         AssignedTo|notifications@ant.apache.or |antoine@apache.org
                   |g                           |
   Target Milestone|---                         |1.8.0

--- Comment #1 from Antoine Levy-Lambert <an...@apache.org> 2010-01-26 09:01:42 UTC ---
trying suggested change.

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