incubator-npanday-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John R. Fallows (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NPANDAY-414) Executable name nunit-console2 not found on Linux
Date Tue, 12 Jul 2011 17:05:00 GMT

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

John R. Fallows commented on NPANDAY-414:
-----------------------------------------

Ideally, the nunit-console executable would be located using the same mechanism as for other
executables like csc and gmcs.

This would also address the problem with having an absolute path for nunitCommand on non-Windows
platforms, where leading / in the absolute path is confused with the windows-based / used
for command flags.

At present, the best known workable solution for non-Windows platforms is to explicitly put
the directory containing nunit-console on the environment path, which is not desirable given
all the hard work already put in to making sure global paths were not required for any other
executables.

> Executable name nunit-console2 not found on Linux
> -------------------------------------------------
>
>                 Key: NPANDAY-414
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-414
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>         Environment: $ mvn -v
> Apache Maven 2.2.1 (rdebian-4)
> Java version: 1.6.0_24
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.24/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.35-28-generic" arch: "amd64" Family: "unix"
>            Reporter: John R. Fallows
>              Labels: mono
>             Fix For: 2.0
>
>
> When npanday-test-plugin is constructing the command line to execute unit tests with
the NUnit console, it uses the executable name "nunit-console2".
> On Ubuntu 10.10, the nunit-console 2.4.7 package ships with /usr/bin/nunit-console but
no executable named nunit-console2, resulting in the following build error.
> {code}
> [INFO] 
> [INFO] /bin/sh: nunit-console2: not found
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message