https://issues.apache.org/bugzilla/show_bug.cgi?id=48823
Summary: Recognize -- to signal end of options and beginning of
target names
Product: Ant
Version: 1.8.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Core
AssignedTo: [email protected]
ReportedBy: [email protected]
All getopt-based tools permit -- to be placed in a command's argument list to
indicate that all options have been passed and that further arguments are
"regular" items such as filenames.
In the case of Ant, any subsequent items should be interpreted as target names.
This would allow expert users to invoke targets whose name begins with a dash.
Conventionally these should be hidden, but on occasion you want to run them
e.g. to test that they function correctly, even when in normal usage they
should only ever be called from another target.
It would also be useful from scripts or IDEs that launch Ant using the command
line (rather than embedded) and want to pass a specific list of targets without
fear of some of them being misinterpreted as options.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.