Hi,
Thanks a lot for plubishing 'the way' of launching flexmojos test from
eclipse ...
after messing with this and 
http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x
I got it working!!!!!!!!



On 30 mayo, 22:09, Simon Morvan <[email protected]> wrote:
> You could also initialize the ${flashPlayer.command} parameter in your
> settings.xml. It's what we're doing on our CI server.
>
> Le 24/05/2011 18:27, Patrick Heinzelmann a écrit :
>
> > If you follow this 
> > guidehttps://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests,
> > every works as expected, when running the flexunit tests from the
> > command: Flash Player will launched to run the tests.
>
> > I've set the location by adding following line to ~/.profile: export
> > PATH=/Applications/Flash\ Player\ Debugger.app/Contents/MacOS:${PATH}
>
> > But when I'm  trying to run it from Eclipse using the m2e plugin, m2e
> > can't find the Flash Player. These happens, because Eclipse will not
> > orgin version of the PATH and not the extended of the .profile File.
>
> > Finally, I found a simple solution for the problem, when you want to
> > running unit tests from m2e on a Mac.
>
> > You have to add the Flash Player location as environment variable in
> > the launch configuration of the Maven Build (m2e) in Eclipse.
>
> > Eclipse->Run->Run Configurations->Select a Maven Build (left column)-
> >> Environment->New
> > Variable: PATH
> > Value: /Applications/Flash\ Player.app/Contents/MacOS (if the Flash
> > Player is located below "/Applications")
>
> > And select the RadioButton: Append environment to native environment
>
> > Done! Now, the m2e plugin can launch the Flash Player to run the
> > flexunit tests.
>
> > Cheers
> > Patrick
>
>

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