I wonder what is your plan to make this painful steps less painful? Sent from DROID
Em 22/09/2010 00:43, "David Vree" <[email protected]>escreveu: It depends on what you mean by "work." If you mean "work together" then no...it was a huge disappointment (i'll explain). If you mean "work at the same time but completely separately" then yes. Here's what I mean: Flex SDK: Flash Builder requires you to download the SDK, store it locally, and reference it from your projects...works great. flex-mojos will use Maven to download all the SDK library files from a Maven repository...works great. The Problem: YOU need to make sure that the installed IDS SDK version matches precisely with the Maven version or you will get two "nearly identical" versions of the system running and it will make you insane! You might think you could reference the Maven libraries from your "~/.m2/repository" directory from the Flash project and not reference the seperate SDK, but you'd be wrong. Thank Adobe for that. Note that for 3rd party libraries, you can use flexmojos to download it, and you can reference it from within FlashBuilder and this will all work swimmingly. Flexmojo's Flex Builder Archetype You might think I have mis-typed something by saying "Flex Builder Archetype", but I have not. This is not a Flash Builder archetype and the projects that get generated don't work in Flash Builder without a significant amount of screwing around. Apparently a real Flash Builder Archetype is NOT in the works. Source Paths: You will want to go the "Maven Way" with this, which means you'll need to carefully configure the Flash Builder projects to point to the correct source paths. This sounds easy, but took me more than a day to figure it out. I had to kill a chicken and read the entrails.... HTML Template: You can check the box all you want in Flash Builder to get a working HTML template, but for Flexmojos to "know" about it you need to bind another goal to a life cycle phase. It all works great once its properly configured, but that it going to require the use of the maven-assembly-plugin and the maven-war-plugin overlay feature. To get this working I had to meditate on a treetop for hours. Application File: You're going to have to tell them both about your root application file in each SWF project. Not a big deal, but don't get it wrong! Target Player Version: You're going to have to tell them both about this too. Not a big deal, but remember to keep them in sync! Expect more duplicate configuration for conditional compilation, themes, runtime share libaries, locales, and modules. Let me close by saying that Flexmojos rocks the house and I wish that FlashBuilder could be "mavenified" the way that the Java tools are in Eclipse. I'd also say that now that I have it set up, they both are really solid and working well. If I had to dump one or the other, I'd definitely dump Flash Builder. I know you didn't ask, but since I am in am opinionated mood, I'll take a moment and rip on Flash Builder: 1) WYSIWYS Design Mode -- Complete crap...the generated source code violates every known good MXML and Actionscript programming standard. Nice for demos, never ever use it in the real world. 2) BlazeDS and Web Service Integration -- Cannot be used, because the Flash Builder project will need to be set up as "No Data Server" because you'd have to be crazy to force the compilation of your SWF artifact to require the services-config.xml file on the back-end server. That is, as soon as you dynamically configure channels, Flash Builder takes a hike. 3) Code Hinting -- Compared to Java tooling it's garbage. For example, if you "paste" a class name, it won't give you the import statement, but if you ctrl-space to select the class name..it will -- WTF?!?!?? I've heard that FDT does a much better job at this. I could go on.... On Sep 21, 12:24 pm, game flash <[email protected]> wrote: > Thanks for the quick rep... > On Tue, Sep 21, 2010 at 11:43 AM, Marvin Froeder <[email protected]> wrote: > > Flexmojos can work... > > Em 21/09/2010 12:41, "game_flash" <[email protected]>escreveu: > > > Has anyone successfully setup Maven/Flex Mojos with Flash Develop IDE? > > > Please share expe... > > [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://f... > > [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://f... -- 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/
