Have you used lancer stuff? http://github.com/llinder/FlexMojos
It is the same I included on flexmojos 3.8-SNAPSHOT (I just pull his changes), it should support flashbuilder and flexbuilder, can't really tell since I use neither. VELO On Wed, Sep 22, 2010 at 9:15 AM, David Vree <[email protected]> wrote: > That is a good question. Firstly, I have kept pretty good notes on > all of these steps and will provide them to anyone who asks. > Secondly, I play to evaluate FDT 4 when it comes out in a few months. > I already have evaluated NetBeans which has a good Flex/Flexmojos/ > Maven integration, but there are too many other things keeping me on > Eclipse. > > I don't think I have the skills to create a flexmojos Flash Builder 4 > archetype, or to make a flexmojos "push-settings-to-flash-builder" > goal. But I could write the specs for them if it would help. > > On Sep 22, 7:05 am, Marvin Froeder <[email protected]> wrote: > > 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]> > > > > > > <flex-mojos%[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]> > > > > > > <flex-mojos%[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]<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/
