Hm, where do I put that <felxUnitCommand> tag? Under goal? Or execution? (as you see I'm brand new to Maven :/)
Do I need to implement a flex to java communication in my test runner? I see the mojo generated runner takes a port number. Anything I could reuse from testing-support? On Feb 3, 2:24 pm, Marvin Froeder <[email protected]> wrote: > You can change the launcher then..... > > <flexUnitCommand> > <cmd>adl</cmd> > <cmd>AirTestRunner-app.xml</cmd> > </flexUnitCommand> > > I guess it will work. But I can be wrong. > > VELO > > On Tue, Feb 3, 2009 at 10:19 AM, [email protected] < > > [email protected]> wrote: > > > I see. In that case riddle me this: > > > For running my tests locally I created an AirTestRunner.mxml as an AIR > > application (so it comes with a AirTestRunner-app.xml). > > I manually add each new test to it, so I'd be happy if Maven would > > compile it and run it as an AIR application. > > On operating system level it means spawning "adl.exe AirTestRunner- > > app.xml", and I suppose it also has a java counterpart (main class) to > > invoke. > > > So test-run goal could just take the xml descriptior file and invoke > > adl on it. > > Does that make sense? How hard would that be? > > > Thanks much, > > Adam > > > On Feb 3, 1:03 pm, Marvin Froeder <[email protected]> wrote: > > > Not sure if is possible... at least not with current flexmojos > > > implementation. > > > > First of all, keep in mind I never develop fulltime on air, just a hello > > > world. > > > > Is possible to launch a SWF file on air? (using air player or something > > like > > > that) > > > If yes, that is something doable. But if I recall correctly something > > else > > > was necessary. > > > > VELO > > > > On Tue, Feb 3, 2009 at 9:20 AM, [email protected] < > > > > [email protected]> wrote: > > > > > Hey, > > > > > I'm writing an AIR app and having trouble with executing tests using > > > > Maven + flex-mojos. > > > > Apparently TestRunner.swf created by test-compile goal is invoked with > > > > Flash Player, which does not have access to AIR specific classes. In > > > > my case it is NativeWindow and my tests fail. > > > > > Is there a configuration option for the FlashPlayer to be able to see > > > > AIR classes? > > > > > Or is there a configuration option for the flex-mojo-compiler:test- > > > > compile to build the TestRunner as an AIR application and execute it > > > > with adl.exe? > > > > > Couple of threads below in this: > > > > In this thread: > > > >http://groups.google.com/group/flex-mojos/browse_thread/thread/6b0cd5. > > .. > > > > Marvin wrote: "Your SWF must be opened by Flash Player. Our you > > > > change SWF file > > > > association or use a command launcher. " which sounds like something I > > > > want to customize, but don't know where to start... > > > > > Thanks, > > > > Adam --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
