Me too ;)

I just read about https://issues.sonatype.org/browse/FLEXMOJOS-354 and
I think that would solve my problem. No need to append the PATH
variables to run unit tests!

Great feature!

On 13 Okt., 02:41, Marvin Froeder <[email protected]> wrote:
> Sorry, I'm not a unix person, but isn't that related to chmod +x ?
>
> VELO
>
> On Wed, Oct 13, 2010 at 3:37 AM, Patrick Heinzelmann <
>
> [email protected]> wrote:
> > I added -DflashPlayer.command as the VM Arguments. Run -> Run
> > Configuration -> created a new Maven Build and added under JRE the VM
> > Arguments.
>
> > Now, I'm getting following error message:
>
> > [ERROR] Read more at:
> >https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests:
> > Cannot run program "/Applications/Flash Player Debugger.app/Contents/
> > MacOS": error=13, Permission denied
>
> > On 13 Okt., 02:13, Marvin Froeder <[email protected]> wrote:
> > > On Wed, Oct 13, 2010 at 3:08 AM, Patrick Heinzelmann <
>
> > > [email protected]> wrote:
> > > > 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-con.
> > ..
>
> > > > 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?
>
> > > No idea, did you tried?
>
> > > > 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]>
> > <flex-mojos%[email protected]<flex-mojos%[email protected]>
>
> > > > <flex-mojos%[email protected]<flex-mojos%[email protected]>
> > <flex-mojos%[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]<flex-mojos%[email protected]>
> > <flex-mojos%[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]<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/

Reply via email to