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 "Mickaël Remars (JIRA)" <ji...@apache.org> on 2013/05/02 11:12:15 UTC
[jira] [Created] (NPANDAY-581) [Regression to NPANDAY-238] switches
starting by "/" fails on Linux/Mono
Mickaël Remars created NPANDAY-581:
--------------------------------------
Summary: [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
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