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 2010/02/26 15:19:38 UTC
DO NOT REPLY [Bug 48823] New: Recognize -- to signal end of options
and beginning of target names
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: notifications@ant.apache.org
ReportedBy: jglick@netbeans.org
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.
DO NOT REPLY [Bug 48823] Recognize -- to signal end of options and
beginning of target names
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48823
Matt Benson <mb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
--- Comment #1 from Matt Benson <mb...@apache.org> 2010-02-26 15:15:40 UTC ---
*** This bug has been marked as a duplicate of bug 24231 ***
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.