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 "Brett Porter (JIRA)" <ji...@apache.org> on 2013/05/06 07:46:16 UTC

[jira] [Commented] (NPANDAY-581) [Regression to NPANDAY-238] switches starting by "/" fails on Linux/Mono

    [ https://issues.apache.org/jira/browse/NPANDAY-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649569#comment-13649569 ] 

Brett Porter commented on NPANDAY-581:
--------------------------------------

thanks for the report - we'll have a look into it
                
> [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
>
> 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