I'd love to.
Do you have some extra documentation to start? Other than the wiki? What do
you suggest me to do first?
Meanwhile, in a deeper examination (mvn -X) I get this stack trace that
maybe would help to see better what the problem is...
Any thoughts?
Thanks again!
Jorge

[INFO] [flexmojos:test-run {execution: default-test-run}]
[INFO] Flexmojos 3.8
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Running tests
/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf
[DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server socket
on port 13540
[DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened server
socket on port 13539
[DEBUG] [LAUNCHER] ASVmLauncher starting
[DEBUG] [LAUNCHER] exec: fp.app/Contents/MacOS/Flash Player -
/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf
[DEBUG] [LAUNCHER] Creating process
[WARNING] [LAUNCHER] Using regular flashplayer tests
[DEBUG] [LAUNCHER] Process created java.lang.UNIXProcess@17f7411
[DEBUG] [MOJO] launcher RUNNING
[DEBUG] [MOJO] pinger STARTED
[DEBUG] [MOJO] resultHandler STARTED
[DEBUG] [LAUNCHER] Output pumpers ON
[DEBUG] [LAUNCHER] Waiting for flashplayer termination
[DEBUG] [SYSERR]: dyld: Library not loaded:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
[DEBUG] [SYSERR]:   Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
[DEBUG] [SYSERR]:   Reason: Incompatible library version: ImageIO requires
version 1.0.0 or later, but libJPEG.dylib provides version 0.0.0
[DEBUG] [LAUNCHER] Flashplayer closed
[DEBUG] [LAUNCHER] Unexpected return code 133
[DEBUG] [MOJO] launcher ERROR
[DEBUG] [MOJO] pinger STARTED
[DEBUG] [MOJO] resultHandler STARTED
[INFO]
------------------------------------------------------------------------
[INFO] Tests run: 0, Failures: 0, Errors: 0, Time Elapsed: 0 sec
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Unexpected return code
133/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf

[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unexpected return
code
133/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unexpected return
code
133/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf
at org.sonatype.flexmojos.test.FlexUnitMojo.tearDown(FlexUnitMojo.java:315)
at org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:165)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: org.sonatype.flexmojos.test.TestRunnerException: Unexpected
return code
133/Users/jorgesilva/dev/flexWorkspaces/macosproblem/target/test-classes/TestRunner.swf
at
org.sonatype.flexmojos.test.DefaultTestRunner.run(DefaultTestRunner.java:87)
at org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:279)
at org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:164)
... 19 more
Caused by: java.lang.Error: Unexpected return code 133
at
org.sonatype.flexmojos.test.launcher.AsVmLauncher.processExitCode(AsVmLauncher.java:286)
at
org.sonatype.flexmojos.test.launcher.AsVmLauncher.run(AsVmLauncher.java:215)
at java.lang.Thread.run(Thread.java:619)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Sat Feb 26 21:19:56 ART 2011
[INFO] Final Memory: 22M/63M
[INFO]
------------------------------------------------------------------------



On Sat, Feb 26, 2011 at 6:28 PM, Marvin Froeder <[email protected]> wrote:
> Well, I don't have a mac, so I basically do not test it on mac at all...
if
> you wanna take over mac support would be nice.
>
> Sent from Android
>
> Em 26/02/2011 16:24, "Jorge" <[email protected]>escreveu:
>
> Hi everyone,
> I'm starting with flex mojos to automate my build in a Flex project.
> I start by following this tutorial:
> http://ria.dzone.com/articles/flex-and-maven
>
> I could generate the maven project through the flex mojos archetype
> using this command:
> mvn archetype:generate -DarchetypeRepository=http://
> repository.sonatype.org/content/groups/public -
> DarchetypeGroupId=org.sonatype.flexmojos -
> DarchetypeArtifactId=flexmojos-archetypes-application -
> DarchetypeVersion=3.7.1
>
> But then, when I try to run maven install (even test) I get this
> error:
> [INFO] Unexpected return code 133/Users/jorgesilva/dev/flexWorkspaces/
> testmavenflex/target/test-classes/TestRunner.swf
>
> The command I'm using is this:
> mvn -DflashPlayer.command='fp.app/Contents/MacOS/Flash Player' install
>
> So, I dont know what is this "Unexpected return code 133" and the
> weird thing is that i try the same thing on a Windows XP and it works
> perfectly.
> I think i have all configured properly.
> So, anyone have ever get this problem? Anyone knows how to solve it or
> where to look for?
> Thanks in advance!
> Cheers,
> Jorge
>
> --
> 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
>
> http://flexmojos.sonatype.org/
>
> --
> 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
>
> http://flexmojos.sonatype.org/
>



-- 
Jorge Silva
Agile Software Development
Mobile: +54 - 11 - 6336 - 3360
email: [email protected]
site: http://www.10Pines.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

http://flexmojos.sonatype.org/

Reply via email to