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