You need FlashPlayer on OS PATH to run unit tests.
VELO

On Fri, Apr 3, 2009 at 1:10 AM, Fernando Wermus
<[email protected]>wrote:

> I am learning how to use mojo, but I got an error.
>
> First I did,
>
> mvn archetype:create 
> -DarchetypeRepository?<https://wermus.dyndns.biz/projects/MisPartidos/wiki/DarchetypeRepository>
> =http://repository.sonatype.com/content/groups/public 
> -DarchetypeGroupId?<https://wermus.dyndns.biz/projects/MisPartidos/wiki/DarchetypeGroupId>=org.sonatype.flexmojos
> -DarchetypeArtifactId?<https://wermus.dyndns.biz/projects/MisPartidos/wiki/DarchetypeArtifactId>=flexmojos-archetypes-application
> -DarchetypeVersion?<https://wermus.dyndns.biz/projects/MisPartidos/wiki/DarchetypeVersion>=3.1.0
> -DgroupId? 
> <https://wermus.dyndns.biz/projects/MisPartidos/wiki/DgroupId>=com.mycompany
> -DartifactId?<https://wermus.dyndns.biz/projects/MisPartidos/wiki/DartifactId>=myproject
>
>
> Second,
>
> mvn install
>
> and the this build error appear
>
>
> [INFO] Updating Flash Payer Trust directory
> /home/fwermus/workspace/prueba/hello/target/test-classes/TestRunner.swf
> [INFO] [flexmojos:test-run]
> [INFO] flexmojos 3.1.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [INFO] Starting tests
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>     at
> org.sonatype.flexmojos.test.threads.AsVmLauncher.stop(AsVmLauncher.java:181)
>     at
> org.sonatype.flexmojos.test.threads.ControlledThreadUtil.stop(ControlledThreadUtil.java:34)
>     at org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:294)
>     at
> org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:152)
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     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: 4 minutes 50 seconds
> [INFO] Finished at: Fri Apr 03 01:05:42 ART 2009
> [INFO] Final Memory: 15M/63M
> [INFO]
> ------------------------------------------------------------------------
>
> any help?
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
> http://mientretiempo.blogspot.com/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to