You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Daniel Tremblay (JIRA)" <ji...@apache.org> on 2008/11/24 16:15:05 UTC

[jira] Created: (AMQNET-125) NAnt test target does not (or no longer) exist

NAnt test target does not (or no longer) exist
----------------------------------------------

                 Key: AMQNET-125
                 URL: https://issues.apache.org/activemq/browse/AMQNET-125
             Project: ActiveMQ .Net
          Issue Type: Task
    Affects Versions: 1.1
         Environment: Windows XP SP3
            Reporter: Daniel Tremblay
            Assignee: Jim Gomes
            Priority: Minor


The test target in the nant.build file does not exist.  Was it there before?  The documentation at http://activemq.apache.org/building-csharp-code.html, section "Building ActiveMQ.Net with Nant" specifies running "nant test".

Either specify in the document to use the NUnit DLLs or add the target.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AMQNET-125) NAnt test target does not (or no longer) exist

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes updated AMQNET-125:
-----------------------------

    Fix Version/s: 1.1

> NAnt test target does not (or no longer) exist
> ----------------------------------------------
>
>                 Key: AMQNET-125
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-125
>             Project: ActiveMQ .Net
>          Issue Type: Task
>    Affects Versions: 1.1
>         Environment: Windows XP SP3
>            Reporter: Daniel Tremblay
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.1
>
>
> The test target in the nant.build file does not exist.  Was it there before?  The documentation at http://activemq.apache.org/building-csharp-code.html, section "Building ActiveMQ.Net with Nant" specifies running "nant test".
> Either specify in the document to use the NUnit DLLs or add the target.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AMQNET-125) NAnt test target does not (or no longer) exist

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQNET-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48707#action_48707 ] 

Timothy Bish commented on AMQNET-125:
-------------------------------------

I see that the test target was added back to the build but it does not seem to be working for me using Mono 2.0.  Whenever I run the nant test command I get an error from nunit-console:

{noformat}
set-mono-2.0-framework-configuration:

     [echo] Doing a signed debug build for the Mono 2.0 framework

dependency-init:

     [exec] NUnit version 2.2.0
     [exec] Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole.
     [exec] Copyright (C) 2000-2003 Philip Craig.
     [exec] All Rights Reserved.
     [exec] 
     [exec] OS Version: Unix 2.6.27.9    Mono Version: 1.1.4322.2032
     [exec] 
     [exec] fatal error: invalid arguments
     [exec] 
     [exec] NUNIT-CONSOLE [inputfiles] [options]
     [exec] 
     [exec] Runs a set of NUnit tests from the console.
     [exec] 
     [exec] You may specify one or more assemblies or a single
     [exec] project file of type .nunit.
     [exec] 
     [exec] Options:
     [exec] /fixture=STR         Fixture to test
     [exec] /config=STR          Project configuration to load
     [exec] /xml=STR             Name of XML output file
     [exec] /transform=STR       Name of transform file
     [exec] /xmlConsole          Display XML to the console
     [exec] /output=STR          File to receive test output (Short format: /out=STR)
     [exec] /err=STR             File to receive test error output
     [exec] /labels              Label each test in stdOut
     [exec] /include=STR         List of categories to include
     [exec] /exclude=STR         List of categories to exclude
     [exec] /noshadow            Disable shadow copy
     [exec] /thread              Run tests on a separate thread
     [exec] /wait                Wait for input before closing console window
     [exec] /nologo              Do not display the logo
     [exec] /help                Display help (Short format: /?)
     [exec] 
     [exec] 
     [exec] Options that take values may use an equal sign, a colon
     [exec] or a space to separate the option from its value.
     [exec] 

{noformat}

If I define the NUnit.ProjectFile on the command line then I get this error:

{noformat}
set-mono-2.0-framework-configuration:

     [echo] Doing a signed debug build for the Mono 2.0 framework

dependency-init:

     [exec] NUnit version 2.2.0
     [exec] Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole.
     [exec] Copyright (C) 2000-2003 Philip Craig.
     [exec] All Rights Reserved.
     [exec] 
     [exec] OS Version: Unix 2.6.27.9    Mono Version: 1.1.4322.2032
     [exec] 
     [exec] Unhandled Exception:
     [exec] System.DllNotFoundException: shlwapi.dll
     [exec]   at (wrapper managed-to-native) NUnit.Util.ProjectPath:PathCanonicalize (System.Text.StringBuilder,string)
     [exec]   at NUnit.Util.ProjectPath.Canonicalize (System.String path) [0x0000b] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/util/ProjectPath.cs:141 
     [exec]   at NUnit.Util.ProjectPath.RelativePath (System.String from, System.String to) [0x00000] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/util/ProjectPath.cs:64 
     [exec]   at NUnit.Util.ProjectConfig.get_PrivateBinPath () [0x00052] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/util/ProjectConfig.cs:231 
     [exec]   at NUnit.Util.TestDomain.Load (NUnit.Util.NUnitProject project, System.String testFixture) [0x0002b] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/util/TestDomain.cs:251 
     [exec]   at NUnit.Console.ConsoleUi.MakeTestFromCommandLine (NUnit.Util.TestDomain testDomain, NUnit.Util.ConsoleOptions parser) [0x0005b] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/nunit-console/ConsoleUi.cs:177 
     [exec]   at NUnit.Console.ConsoleUi.Execute (NUnit.Util.ConsoleOptions options) [0x0007f] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/nunit-console/ConsoleUi.cs:200 
     [exec]   at NUnit.Console.ConsoleUi.Main (System.String[] args) [0x00074] in /builddir/build/BUILD/mono-1.9.1/mcs/nunit20/nunit-console/ConsoleUi.cs:85 

{noformat}


> NAnt test target does not (or no longer) exist
> ----------------------------------------------
>
>                 Key: AMQNET-125
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-125
>             Project: ActiveMQ .Net
>          Issue Type: Task
>    Affects Versions: 1.1
>         Environment: Windows XP SP3
>            Reporter: Daniel Tremblay
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.1
>
>
> The test target in the nant.build file does not exist.  Was it there before?  The documentation at http://activemq.apache.org/building-csharp-code.html, section "Building ActiveMQ.Net with Nant" specifies running "nant test".
> Either specify in the document to use the NUnit DLLs or add the target.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQNET-125) NAnt test target does not (or no longer) exist

Posted by "Jim Gomes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQNET-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Gomes resolved AMQNET-125.
------------------------------

    Resolution: Fixed

Fixed path to nunit test file.  The unit tests can now be run from the command-line.  The results will be output into the build directory in a file named Nunit.TestOutput.xml.

> NAnt test target does not (or no longer) exist
> ----------------------------------------------
>
>                 Key: AMQNET-125
>                 URL: https://issues.apache.org/activemq/browse/AMQNET-125
>             Project: ActiveMQ .Net
>          Issue Type: Task
>    Affects Versions: 1.1
>         Environment: Windows XP SP3
>            Reporter: Daniel Tremblay
>            Assignee: Jim Gomes
>            Priority: Minor
>             Fix For: 1.1
>
>
> The test target in the nant.build file does not exist.  Was it there before?  The documentation at http://activemq.apache.org/building-csharp-code.html, section "Building ActiveMQ.Net with Nant" specifies running "nant test".
> Either specify in the document to use the NUnit DLLs or add the target.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.