Run in debug mode (mvn -X) or use 3.3-SNAPSHOT to see the error log.
VELO

On Tue, Jun 9, 2009 at 10:03 AM, Marc <[email protected]> wrote:

>
> Compiling the app works well. But I cannot get it to run unit tests,
> see trace at the end. It generates the correct TestRunner.mxml but
> fails to compile the TestRunner.swf . I use
>
>                <dependency>
>                        <groupId>org.sonatype.flexmojos</groupId>
>                        <artifactId>flexmojos-unittest-support</artifactId>
>                        <version>3.2.0</version>
>                        <type>swc</type>
>                        <scope>test</scope>
>                </dependency>
>
> Is that the problem?
> Marc
>
>
>
> ...
> [INFO] [flexmojos:test-compile]
> [INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
> file
> [INFO] Compiling test class: [Ljava.lang.String;@179bf17
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error compiling!
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error
> compiling!
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:584)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:500)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (DefaultLifecycleExecutor.java:479)
>        at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:331)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> (DefaultLifecycleExecutor.java:292)
>        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:301)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        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)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> compiling!
>        at org.sonatype.flexmojos.compiler.AbstractFlexCompilerMojo.build
> (AbstractFlexCompilerMojo.java:2264)
>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.buildTest
> (TestCompilerMojo.java:415)
>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.run
> (TestCompilerMojo.java:365)
>        at org.sonatype.flexmojos.compiler.TestCompilerMojo.execute
> (TestCompilerMojo.java:126)
>        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (DefaultPluginManager.java:453)
>        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:559)
>        ... 16 more
>
> On Jun 9, 4:38 am, Marvin Froeder <[email protected]> wrote:
> > Ok done.
> > VELO
> >
> > On Mon, Jun 8, 2009 at 11:58 AM, Marc <[email protected]> wrote:
> >
> > > Hey Velo, you've been doing a great job for ages!
> > > Thanks,
> > > Marc
> >
> > > On Jun 8, 4:44 pm, Marvin Froeder <[email protected]> wrote:
> > > > Well, usually I only released flex 3 milestones.... but I think is a
> nice
> > > > idea release flex 4 beta 1.
> > > > I will check what changed and update my xmls....  will try to get it
> in
> > > > tonight.
> >
> > > > VELO
> >
> > > > On Mon, Jun 8, 2009 at 11:28 AM, Marc <[email protected]> wrote:
> >
> > > > > If I understand former discussions correctly, installing Flex SDKs
> is
> > > > > not recommended anymore. Hence the question whether you plan to add
> > > > > Flex 4beta1 to sonatypes repository?
> > > > > Thanks for any hints,
> > > > > Marc
> >
>

--~--~---------~--~----~------------~-------~--~----~
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