nice...

On Nov 8, 4:09 pm, Davorian <[email protected]> wrote:
> Yep 4.1-beta did the trick thanks Velo.
>
> On Nov 8, 5:13 pm, velo <[email protected]> wrote:
>
>
>
>
>
>
>
> > Try 4.1-beta, it shall get the job done.
>
> > On Nov 8, 2:13 pm, Davorian <[email protected]> wrote:
>
> > > I'm trying to run tests with adl & I can run tests with flashplayer on
> > > my machine with a flex(non-air) project.
> > > air sdk and flex sdk 4.5.1.21328, flexmojos 4.0-RC2, flexunit 4.0-
> > > beta-2.
>
> > > And I have both flashplayer and adl on my path I keep getting an error
> > > with the maven version 2.6 of adl
>
> > > This when I use the sdk version of the adl from flexmojos which I can
> > > seem to override with adlGav, which I know may be deprecated from the
> > > blogs.
>
> > > [WARNING] [LAUNCHER] Using regular flashplayer tests
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Reactor Summary:
> > > [INFO]
> > > [INFO] simple-fb-liquidity ............................... SUCCESS
> > > [1.843s]
> > > [INFO] swf ............................................... FAILURE
> > > [18.391s]
> > > [INFO] air ............................................... SKIPPED
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] BUILD FAILURE
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 21.719s
> > > [INFO] Finished at: Tue Nov 08 16:08:36 GMT 2011
> > > [INFO] Final Memory: 28M/494M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> > > plugin:4.0
> > > -RC2:test-run (default-test-run) on project swf: 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+t
> > > ests: Cannot run program "C:\LGIM\mvn\repo\com\adobe\adl
> > > \2.6\adl-2.6.exe": Creat
> > > eProcess error=87, The parameter is incorrect
> > > [ERROR] -> [Help 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > > execute goal o
> > > rg.sonatype.flexmojos:flexmojos-maven-plugin:4.0-RC2:test-run (default-
> > > test-run)
> > >  on project swf: Failed to launch Flash Player.  Probably java was not
> > > able to f
> > > ind flashplayer.
> > >                 Make sure flashplayer is available on PATH
> > >                 or use -DflashPlayer.command=${flashplayer executable}
>
> > > When I run it with the adl from FlashBuilder sdk 4.5.1 I get
> > > [INFO] Running tests C:\LGIM\Development\Flex Development\simple-fb-
> > > liquidity\sw
> > > f\target\test-classes\TestRunner.swf
> > > [DEBUG] [LAUNCHER] ASVmLauncher starting
> > > [DEBUG] [LAUNCHER] exec: [C:\LGIM\mvn\repo\com\adobe\adl
> > > \2.6\adl-2.6.exe, -runti
> > > me, C:\LGIM\mvn\repo\com\adobe\adl\runtime\2.6\_zip] - C:\LGIM
> > > \Development\Flex
> > > Development\simple-fb-liquidity\swf\target\test-classes\TestRunner.xml
> > > [DEBUG] [LAUNCHER] Creating process
> > > [WARNING] [LAUNCHER] Using regular flashplayer tests
> > > [DEBUG] [org.sonatype.flexmojos.test.monitor.ResultHandler] opened
> > > server socket
> > >  on port 1178
> > > [DEBUG] [org.sonatype.flexmojos.test.monitor.AsVmPing] opened server
> > > socket on p
> > > ort 1177
> > > [DEBUG] [LAUNCHER] Process created java.lang.ProcessImpl@19e9038
> > > [DEBUG] [LAUNCHER] Output pumpers ON
> > > [DEBUG] [LAUNCHER] Waiting for flashplayer termination
> > > [DEBUG] [MOJO] launcher RUNNING
> > > [DEBUG] [MOJO] pinger STARTED
> > > [DEBUG] [MOJO] resultHandler STARTED
> > > [DEBUG] [LAUNCHER] Flashplayer closed
> > > [DEBUG] [LAUNCHER] Unexpected return code 3
> > > [DEBUG] [MOJO] launcher ERROR
> > > [DEBUG] [MOJO] pinger STARTED
> > > [DEBUG] [MOJO] resultHandler STARTED
>
> > > My pom is
>
> > > <project xmlns="http://maven.apache.org/POM/4.0.0";
> > >                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > >                  
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0...";>
> > >         <modelVersion>4.0.0</modelVersion>
> > >         <parent>
> > >                 <groupId>com.lgim.gfos</groupId>
> > >                 <artifactId>simple-fb-liquidity</artifactId>
> > >                 <version>0.0.1-SNAPSHOT</version>
> > >         </parent>
> > >         <groupId>com.lgim.gfos</groupId>
> > >         <artifactId>swf</artifactId>
> > >         <version>0.0.1-SNAPSHOT</version>
> > >         <packaging>swf</packaging>
> > >         <dependencies>
> > >                 <dependency>
> > >                         <groupId>com.adobe.flex.framework</groupId>
> > >                         <artifactId>air-framework</artifactId>
> > >                         <version>${flex.version}</version>
> > >                         <type>pom</type>
> > >                 </dependency>
> > >                 <dependency>
> > >                         <groupId>com.adobe.flexunit</groupId>
> > >                         <artifactId>flexunit</artifactId>
> > >                         <version>${flexunit.version}</version>
> > >                         <type>swc</type>
> > >                         <scope>test</scope>
> > >                 </dependency>
> > >         </dependencies>
> > >         <build>
> > >                 <sourceDirectory>src</sourceDirectory>
> > >                 <testSourceDirectory>test</testSourceDirectory>
> > >                 <plugins>
> > >                         <plugin>
> > >                                 <groupId>org.sonatype.flexmojos</groupId>
> > >                                 
> > > <artifactId>flexmojos-maven-plugin</artifactId>
> > >                                 <version>${flexmojos.version}</version>
> > >                                 <extensions>true</extensions>
> > >                                 <configuration>
> > >                                         <testTimeout>10000</testTimeout>
> > >                                         <optimize>false</optimize>
> > >                                         <targetPlayer>10.3</targetPlayer>
> > >                                         <swfVersion>11</swfVersion>
> > >                                         
> > > <flexBuilderCompatibility>true</flexBuilderCompatibility>
> > >                                         
> > > <keepGeneratedActionscript>false</keepGeneratedActionscript>
> > > <!--                                         <coverage>true</coverage> -->
> > > <!--                                         
> > > <coverageProvider>cobertura</coverageProvider> -->
> > > <!--                                         
> > > <coverageReportFormat>html</coverageReportFormat> -->
> > >                                         <keepAs3Metadatas>
> > >                                                 
> > > <keepAs3Metadata>Log</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>Transient</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>Inject</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>EventHandler</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>ManagedEvent</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>Dispatcher</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>PostConstruct</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>Mediate</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>Autowire</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>PreDestroy</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>ViewAdded</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>ViewRemoved</keepAs3Metadata>
> > >                                                 
> > > <keepAs3Metadata>ViewNavigator</keepAs3Metadata>
> > >                                         </keepAs3Metadatas>
> > >                                         
> > > <sourceFile>com\lgim\manualCash\views\modules
> > > \ManualCashModule.mxml</sourceFile>
> > >                                 </configuration>
> > >                         </plugin>
> > >                 </plugins>
> > >         </build>
> > > </project>
>
> > > It's parent pom is
> > > <project xmlns="http://maven.apache.org/POM/4.0.0";
> > >                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > >                  
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0...";>
> > >         <modelVersion>4.0.0</modelVersion>
> > >         <groupId>com.lgim.gfos</groupId>
> > >         <artifactId>simple-fb-liquidity</artifactId>
> > >         <version>0.0.1-SNAPSHOT</version>
> > >         <packaging>pom</packaging>
> > >         <modules>
> > >
>
> ...
>
> read more »

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