[ 
https://issues.apache.org/jira/browse/IVY-952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Woodworth updated IVY-952:
----------------------------------

    Description: Currently it is impossible to pass any arguments which start 
with the dash character through to the class specified by the "main" argument 
in standalone mode.  The attached patch makes the command-line parser recognize 
the special getopt-style "--" argument which tells the parser to stop parsing 
for known arguments and simply pass all subsequent tokens on to the main method 
of the class being invoked.  (was: Currently it is impossible to pass any 
arguments which start with the dash character through to the class specified by 
the "-main" argument in standalone mode.  The attached patch makes the 
command-line parser recognize the special getopt-style "--" argument which 
tells the parser to stop parsing for known arguments and simply pass all 
subsequent tokens on to the main method of the class being invoked.)

> Support for passing arbitrary arguments to the -main invoked class when using 
> the standalone mode is severely limited.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-952
>                 URL: https://issues.apache.org/jira/browse/IVY-952
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0-RC1
>            Reporter: Patrick Woodworth
>
> Currently it is impossible to pass any arguments which start with the dash 
> character through to the class specified by the "main" argument in standalone 
> mode.  The attached patch makes the command-line parser recognize the special 
> getopt-style "--" argument which tells the parser to stop parsing for known 
> arguments and simply pass all subsequent tokens on to the main method of the 
> class being invoked.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to