Nice, would be cool if you add to wiki (it is public editable) VELO
On Tue, May 24, 2011 at 1:27 PM, Patrick Heinzelmann < [email protected]> wrote: > If you follow this guide > https://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/ > -- 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/
