[ 
https://jira.codehaus.org/browse/MJS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286974#comment-286974
 ] 

Tim Astle commented on MJS-40:
------------------------------

After quickly reviewing this, I don't see how a TEST-HelloTest.xml could be 
generated from this project.  I'll remove this line, but this will cause 
another integration test to fail (unrelated) later on.

My guess is that this feature of generating XML test reports was not completed 
by the last author or perhaps not committed.
                
> Development Build Broken
> ------------------------
>
>                 Key: MJS-40
>                 URL: https://jira.codehaus.org/browse/MJS-40
>             Project: Maven Javascript Tools
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Mac OS X 10.6.7, Maven 2.2.1, Java 1.6.0_24, SVN 1.6.15, 
> repo: https://svn.codehaus.org/mojo/trunk/sandbox/javascript-maven-tools, 
> revision: 14058
>            Reporter: Robert Pate
>            Assignee: Tim Astle
>             Fix For: 1.0
>
>
> I am a noob to the plugin process and I didn't totally understand how these 
> integration tests were running.  
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Javascript Maven Plugin
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> .
> .
> .
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> .
> .
> .
> [INFO] [invoker:run {execution: integration-test}]
> [INFO] Building: build-prototype-using-maven/pom.xml
> [INFO] ...SUCCESS.
> [INFO] Building: pure-javascript-project/pom.xml
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Expression: new java.io.File(basedir, 
> target/surefire-reports/TEST-HelloTest.xml).exists()
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.AssertionError: Expression: new java.io.File(basedir, 
> target/surefire-reports/TEST-HelloTest.xml).exists()
>       at 
> org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:393)
>       at 
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:683)
>       at Script1.run(Script1.groovy:7)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:543)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:518)
>       at 
> org.apache.maven.plugin.invoker.GroovyScriptInterpreter.evaluateScript(GroovyScriptInterpreter.java:83)
>       at 
> org.apache.maven.plugin.invoker.InvokerMojo.runScript(InvokerMojo.java:1350)
>       at 
> org.apache.maven.plugin.invoker.InvokerMojo.runBuild(InvokerMojo.java:1155)
>       at 
> org.apache.maven.plugin.invoker.InvokerMojo.runBuild(InvokerMojo.java:1015)
>       at 
> org.apache.maven.plugin.invoker.InvokerMojo.runBuilds(InvokerMojo.java:944)
>       at 
> org.apache.maven.plugin.invoker.InvokerMojo.execute(InvokerMojo.java:554)
>       at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>       at 
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 31 seconds
> [INFO] Finished at: Fri May 13 10:39:33 EDT 2011
> [INFO] Final Memory: 43M/90M
> [INFO] 
> ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to