I appended the PATH in ~/.profiles with the Flash Player Debugger
location like described here. I'm using a Mac.
http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html#flex-dev-sect-configuring-unit-tests
Also created I symbolic link the inside Debugger to link from Flash
Player Debugger to Flash Debugger.
Running the flexunit tests using the terminal works fine.
However, when I'm running the flexunit tests inside eclipse using the
m2eclipse plugin, I'm getting following exception:
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8:test-run (default-test-run) on project PlayerTest: Failed
to launch Flash Player. Probably java was not able to find
flashplayer.
[ERROR] Make sure flashplayer is available on PATH
[ERROR] or use -DflashPlayer.command=${flashplayer executable}
[ERROR] Read more at:
https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests:
Cannot run program "Flash Player": error=2, No such file or directory
[ERROR] -> [Help 1]
[ERROR]
Basically, the appending of the PATH in the ~/profile doesn't affect
the PATH variable which eclipse is using. /usr/bin:/bin:/usr/sbin:/
sbin
Is there a way to set the location of the Flash Player to run flexunit
with flexmojo tests inside of eclipse using m2eclipse. Can I solve my
problem using -DflashPlayer.command?
Patrick
On Oct 13, 12:00 am, Marvin Froeder <[email protected]> wrote:
> Sorry, I have no clue...
>
> On Wed, Oct 13, 2010 at 12:58 AM, Patrick Heinzelmann <
>
> [email protected]> wrote:
> > Hi,
>
> > I tried to used m2eclipse together with FlexMojo, but can't run the
> > tests because Eclipse can't find the Flash Player. From the terminal
> > everything works as expected. How have you solved it that eclipse
> > finds the Flash Player?
>
> > 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]<flex-mojos%[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/