You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Lars Corneliussen (Created) (JIRA)" <ji...@apache.org> on 2011/12/20 20:05:30 UTC

[jira] [Created] (NPANDAY-509) CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="

CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="
----------------------------------------------------------------------------------------------------------------------

                 Key: NPANDAY-509
                 URL: https://issues.apache.org/jira/browse/NPANDAY-509
             Project: NPanday
          Issue Type: Improvement
          Components: Maven Plugins
            Reporter: Lars Corneliussen
            Assignee: Lars Corneliussen
             Fix For: 1.5.0-incubating


h2. The Problem
{{-source:contentPath=Path with space}} gets translated to {{"-source:contentPath=Path with space"}}, which results in an error in MSDeploy tool. It requires {{-source:contentPath="Path with space"}}.

There is already an implemntation where {{-param:value 1}} is correctly translated into {{-param:"value 1"}}.

In order to avoid ambiguity between : and = we have to be able to configure the switch format somehow per executable-plugin / compiler-plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (NPANDAY-509) CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="

Posted by "Lars Corneliussen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Corneliussen resolved NPANDAY-509.
---------------------------------------

    Resolution: Fixed
    
> CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-509
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-509
>             Project: NPanday
>          Issue Type: Improvement
>          Components: Maven Plugins
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>             Fix For: 1.5.0-incubating
>
>
> h2. The Problem
> {{-source:contentPath=Path with space}} gets translated to {{"-source:contentPath=Path with space"}}, which results in an error in MSDeploy tool. It requires {{-source:contentPath="Path with space"}}.
> There is already an implemntation where {{-param:value 1}} is correctly translated into {{-param:"value 1"}}.
> In order to avoid ambiguity between : and = we have to be able to configure the switch format somehow per executable-plugin / compiler-plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (NPANDAY-509) CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="

Posted by "Brett Porter (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NPANDAY-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13174001#comment-13174001 ] 

Brett Porter commented on NPANDAY-509:
--------------------------------------

quoting is always a hassle. If the plexus-utils component is in use there, it will likely take care of it due to the spaces. If the NPanday code puts the "" into the first one before passing it off, does it work correctly?
                
> CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-509
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-509
>             Project: NPanday
>          Issue Type: Improvement
>          Components: Maven Plugins
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>             Fix For: 1.5.0-incubating
>
>
> h2. The Problem
> {{-source:contentPath=Path with space}} gets translated to {{"-source:contentPath=Path with space"}}, which results in an error in MSDeploy tool. It requires {{-source:contentPath="Path with space"}}.
> There is already an implemntation where {{-param:value 1}} is correctly translated into {{-param:"value 1"}}.
> In order to avoid ambiguity between : and = we have to be able to configure the switch format somehow per executable-plugin / compiler-plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Work started] (NPANDAY-509) CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="

Posted by "Lars Corneliussen (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NPANDAY-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on NPANDAY-509 started by Lars Corneliussen.

> CommandExecutor is confused with MSDeploy-style commandline switches starting with "-" and containing both ":" and "="
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-509
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-509
>             Project: NPanday
>          Issue Type: Improvement
>          Components: Maven Plugins
>            Reporter: Lars Corneliussen
>            Assignee: Lars Corneliussen
>             Fix For: 1.5.0-incubating
>
>
> h2. The Problem
> {{-source:contentPath=Path with space}} gets translated to {{"-source:contentPath=Path with space"}}, which results in an error in MSDeploy tool. It requires {{-source:contentPath="Path with space"}}.
> There is already an implemntation where {{-param:value 1}} is correctly translated into {{-param:"value 1"}}.
> In order to avoid ambiguity between : and = we have to be able to configure the switch format somehow per executable-plugin / compiler-plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira