Ow, wait a second, if you do have the flashplayer artifact on your local repo it will try to use it, so if you did install it flexmojos will use it. But it has no means of knowing you installed a package that doesn't work at all.
VELO On Fri, Oct 22, 2010 at 10:30 AM, Marvin Froeder <[email protected]> wrote: > Ok, thanks. > > > On Fri, Oct 22, 2010 at 10:02 AM, Rafael Adson <[email protected]>wrote: > >> Yep, my tests did run with flexmojos 3.9-SNAPSHOT. >> >> I was trying yesterday to package the Flash Player application to run >> in the same way you did with linux and windows. However, as the >> packaging of the Flash Player Debugger is somewhat different then >> linux-windows, I would problably have to package it in a zip and unzip >> in the destination folder, and would also have to alter how >> AsVmLauncher launches the application. >> >> Instead, based on your answer, I'll try to debug and see why flexmojos >> is not calling my default flash player. I'll keep you informed how it >> goes. >> >> Thanks for the help, >> Rafael. >> >> On Oct 21, 4:47 pm, Marvin Froeder <[email protected]> wrote: >> > On Thu, Oct 21, 2010 at 3:48 PM, Rafael Adson <[email protected] >> >wrote: >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > Hello, >> > >> > > I'm trying to make flexmojos run on Mac OS X and I am receiving an >> > > error because it can't find the flashplayer for mac. >> > > The relevant part of the error message is this: >> > > launch(org.sonatype.flexmojos.test.launcher.AsVmLauncherTest) Time >> > > elapsed: 0.022 sec <<< FAILURE! >> > > org.sonatype.flexmojos.test.launcher.LaunchFlashPlayerException: >> > > Failed to launch Flash Player. >> > > at >> > >> > > >> org.sonatype.flexmojos.test.launcher.AsVmLauncher.runFlashplayer(AsVmLaunch >> er.java: >> > > 182) >> > > at >> > > >> org.sonatype.flexmojos.test.launcher.AsVmLauncher.start(AsVmLauncher.java: >> > > 292) >> > > at >> > >> > > >> org.sonatype.flexmojos.test.launcher.AsVmLauncherTest.launch(AsVmLauncherTe >> st.java: >> > > 29) >> > > Caused by: java.io.IOException: Cannot run program "/Users/rafael/p2d/ >> > > >> others/flexmojos/flexmojos-testing/flexmojos-tester/target/flashplayer/ >> > > flashplayer-mac.uexe": error=2, No such file or directory >> > >> > Odd, it should be trying to use the flashplayer your have on your OS >> path, >> > not this one.... Did your tests used to work using flexmojos 3.x? >> > >> > >> > >> > > I read the pom.xml and couldn't find any reference to flash player for >> > > mac there, and there is none also on mvnrepository.org (neither for >> > > windows or linux), so I'm supposing you made the package with flash >> > > player and deployed in some repository. >> > >> > Nop, I did not. Anyway, I have no idea if the flashplayer resolution >> works >> > at all for macs, I never tied >> > >> > >> > >> > > I have the mac os x Flash Player debugger and can do the same (will >> > > try to unzip the linux one and see how it is done), but I don't know >> > > where to deploy the package. Is there a local repository inside the >> > > project, some kind of nexus you use or would you like me to send it to >> > > you by e-mail? >> > >> > Not sure what you mean here. >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > Thanks for the help... >> > > Rafael. >> > >> > > On Oct 8, 6:12 pm, Marvin Froeder <[email protected]> wrote: >> > > > Hrmmm... that seems to be an apparat bug.... I think I will need to >> > > > rollback the version to 1.0-RC6.... (or RC5, not sure which one) >> > >> > > > VELO >> > >> > > > On Fri, Oct 8, 2010 at 11:03 PM, Bryan Turner < >> [email protected]> >> > > wrote: >> > > > > I'm getting the same failures as the build machine on my local >> Linux, >> > > which >> > > > > is not running headless (I can watch the FlashPlayer popup, >> execute and >> > > > > close gracefully), so I doubt xvfb is the problem. >> > >> > > > > My build where I updated to maven-surefire-plugin:2.6 gets to >> > > > > Running: org.sonatype.flexmojos.test.IT0013IssuesTest.issue14() >> > > > > and hangs there forever with the Java process spinning out of >> control. >> > > It >> > > > > never gets to the issue11() test that usually runs next. As soon >> as I >> > > go >> > > > > back to 2.5, that test completes and I'm back to the build >> failures I >> > > > > started with. >> > >> > > > > I've updated to Maven 3 final, and reverted my maven.version >> change in >> > > > > flexmojos-parent/pom.xml back to what's committed. Just to be >> safe, >> > > I've >> > > > > deleted my entire .m2/repository. I've kicked off another build to >> see >> > > what >> > > > > happens. >> > >> > > > > On Fri, Oct 8, 2010 at 9:54 AM, Marvin Froeder <[email protected] >> > >> > > wrote: >> > >> > > > >> On Fri, Oct 8, 2010 at 7:28 PM, Brian <[email protected]> wrote: >> > >> > > > >>> @Velo - Coming a little late to the thread, but a couple things >> to >> > > > >>> consider when running the FP on Linux, especially in the context >> of >> > > > >>> CI. The FP needs a windowing environment, typically via a >> > > combination >> > > > >>> of X and Xvnc/xvfb, to run successfully on what would be >> > > traditionally >> > > > >>> considered a headless Linux install. As you implement this >> feature, >> > > > >>> you may find that users running on headless installs are >> receiving >> > > gtk >> > > > >>> errors even with X installed. >> > >> > > > >> Flexmojos takes care out of box that.... it launches the xvfb for >> > > > >> flashplayer..... BTW, I think that is part of the problem, this >> is a >> > > new >> > > > >> linux node, probably is missing xvfb..... will check if that is >> the >> > > > >> case.... >> > >> > > > >>> It's important to note that running the >> > > > >>> FP on Linux has a laundry list of dependencies as well as a >> > > restricted >> > > > >>> set of supported distros for the 32-bit SA player. These are >> the >> > > > >>> links I typically refere people to when they have install >> issues: >> > >> > > > >>> FP 10 Linux Dependency List - >> > >http://kb2.adobe.com/cps/153/tn_15380.html >> > > > >>> Supported OS List - >> > > > >>>http://www.adobe.com/products/flashplayer/systemreqs/ >> > >> > > > >> Man, why does linux does have to be always more complicated that >> it >> > > really >> > > > >> need to be?! >> > >> > > > >>> You may want to provide a disclaimer re: the dependencies and >> distros >> > > > >>> that will work with the stand-alone FP debugger on Linux to help >> > > > >>> people with setup. Although they won't have to d/l the >> executable, >> > > > >>> their env will still have to be primed. I've found the most >> common >> > > > >>> distros on the Ant side folks have been using are Ubuntu Server >> > > > >>> Edition and variants of Red Hat (i.e. - RHEL, CentOS, etc.). >> Running >> > > > >>> tests on desktop editions will probably go much more smoothly >> than in >> > > > >>> practice for the folks using server editions. >> > >> > > > >> Yeah, my main concern here is make the developer enviroment >> easier to >> > > > >> setup, more reliable and compatible cross company.... on my last >> job I >> > > had >> > > > >> to run time to time, poking all developers machine to ensure >> everybody >> > > was >> > > > >> using the correct Flex SDK version for our ant tasks (and later >> our >> > > bizarre >> > > > >> maven plugin). >> > >> > > > >> On flexmojos this no longer happen, since you pull flex SDK from >> a >> > > > >> repository and there is no longer a easy way to screw this up >> > > (install-mojo >> > > > >> died on the process, but ok).... now I wanna bring that to >> flashplayer >> > > and >> > > > >> adl.... flashplayer seems not so hard (besides some OS related >> > > craziness)... >> > > > >> on the other hand, adl will be way more trickier... >> > >> > > > >> VELO >> > >> > > > >>> HTH and good luck with the feature work. >> > >> > > > >> We still need to sit and chat about creating a flex-test-commons >> to >> > > share >> > > > >> between flexmojos and flexunit ant task.... >> > >> > > > >>> -Brian >> > >> > > > >>> On Oct 7, 10:27 pm, Marvin Froeder <[email protected]> wrote: >> > > > >>> > Hey Folks, >> > >> > > > >>> > I'm trying to make flexmojos easier to run unit test, by >> making it >> > > > >>> capable >> > > > >>> > of using flashplayer from maven repo. That plus >> > > > >>> > maven-external-dependency-plugin [1] would make flexmojos more >> > > > >>> transparent >> > > > >>> > for used.... eliminating the need to setup flashplayer on the >> > > OS.... >> > >> > > > >>> > But, linux is not my native environment (neither is mac). So >> I >> > > would >> > > > >>> like >> > > > >>> > to ask for volunteers that wanna to get dirty in order to get >> this >> > > > >>> working. >> > >> > > > >>> > The configuration for maven-external-dependency-plugin is >> described >> > > [2] >> > >> > > > >>> > Unless I get some help this feature will be available on >> windows >> > > only, >> > > > >>> since >> > > > >>> > I don't have time to go linux and figure this out. >> > >> > > > >>> > VELO >> > >> > > > >>> > [1] - >> http://code.google.com/p/maven-external-dependency-plugin/ >> > > > >>> > [2] - >> > >> > >http://github.com/Flexmojos/flexmojos/blob/flexmojos-4.x/flexmojos-pa. >> .. >> > >> > > > >>> -- >> > > > >>> 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%2bunsubscr...@googlegrou ps.com> >> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > > >>> 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%2bunsubscr...@googlegrou ps.com> >> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > > >> 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%2bunsubscr...@googlegrou ps.com> >> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > > > 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%2bunsubscr...@googlegrou ps.com> >> > > 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/
