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: [email protected]
ReportedBy: [email protected]
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.