Thanks, noted and done so. Talked to rubber ducky too - no effect... :)
On Sep 29, 2:14 pm, Marvin Froeder <[email protected]> wrote: > 2.0 series used to open the associated application to swf.... but that way I > was not able to know if the player launched or not... neither has > the ability to kill FP if something went wrong. > What I can do is to force the system properties into the new process I > create, that may be or may not help... I have no idea.... but if correctly > defined path does work.... > > Note that after setting path you must restart console or IDE. > > VELO > > On Tue, Sep 29, 2009 at 3:01 PM, Leonid <[email protected]> wrote: > > > I am having exactly the same issue - FlashPlayer.exe available as part > > of system path, but mvn fails with flex mojos v3.3. Note, when > > previously ran plugin version 2.0M8, I didn't even need to have the > > player executable in the system path - somehow the plugin was able to > > find a player on its own. > > > Anyway, here is the debug snippet from mvn -X test run: > > > [INFO] flexmojos 3.3.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT > > file > > [INFO] Running tests C:\dev\workspace\flex-sdk\target\test-classes > > \TestRunner.swf > > [DEBUG] [LAUNCHER] ASVmLauncher starting > > [DEBUG] [LAUNCHER] exec: FlashPlayer.exe - C:\dev\workspace\flex-sdk > > \target\test-classes\TestRunner.swf > > [DEBUG] [LAUNCHER] Creating process > > [WARNING] [LAUNCHER] Using regular flashplayer tests > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened > > server socket on port 13539 > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server > > socket on port 13540 > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Failed to launch Flash Player. Probably java was not able to > > find flashplayer. > > Make sure flashplayer is available on PATH > > or use -DflashPlayer.command=${flashplayer executable} > > Read more at: > >https://docs.sonatype.org/display/FLEXMOJOS/Running+unit+tests > > > CreateProcess error=2, The system cannot find the file specified > > [INFO] > > ------------------------------------------------------------------------ > > [DEBUG] Trace > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > launch Flash Player. Probably java was not able to find flashplayer. > > Make sure flashplayer is available on PATH > > or use -DflashPlayer.command=${flashplayer executable} > > > On Aug 28, 8:26 pm, Logan Allred <[email protected]> wrote: > > > On Thu, Aug 27, 2009 at 7:49 AM, Marvin Froeder<[email protected]> > > wrote: > > > > You could use like this: > > > > <build> > > > > <plugins> > > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > > <version>3.3.0</version> > > > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > > <extensions>true</extensions> > > > > <configuration> > > > > <testRunner> > > > > <launcher> > > > > > <flashplayerCommand>${flashPlayer.command}</flashplayerCommand> > > > > </launcher> > > > > </testRunner> > > > > </configuration> > > > > </plugin> > > > > </plugins> > > > > </build> > > > > For some reason maven is not injecting the flashplayer command on > > component. > > > > Try running with mvn -X and let's find out exactly what command it is > > > trying to run. > > > > Logan --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
