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

Mickaël Remars updated NPANDAY-581:
-----------------------------------

    Attachment: NPANDAY-581.patch

Patch in the description is unreadable: here is a usable one.
                
> [Regression to NPANDAY-238] switches starting by "/" fails on Linux/Mono
> ------------------------------------------------------------------------
>
>                 Key: NPANDAY-581
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-581
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.5.0-incubating
>         Environment: Debian/Mono
>            Reporter: Mickaël Remars
>              Labels: linux, mono, patch
>             Fix For: 1.5.0-incubating
>
>         Attachments: NPANDAY-581.patch
>
>
> The regression seems to appear during NPANDAY-499.
> A simple fix may be to always use "-" instead of "/": nunit-console accepts 
> it on Windows and on Linux.
> --- 
> a/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
> +++ 
> b/plugins/maven-test-plugin/src/main/java/npanday/plugin/test/TesterMojo.java
> @@ -168,7 +168,7 @@ public class TesterMojo
>  
>          commands.add( testAssemblyPath + File.separator + getTestFileName() 
> );
>  
> -        String switchChar = "/";
> +        String switchChar = "-";
>          commands.add( switchChar + "xml:" + 
> nUnitXmlFilePath.getAbsolutePath() );
>  
>          commands.add( switchChar + "output:" + 
> nUnitResultOutputPath.getAbsolutePath() );
> -- 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to