Thanks everyone for your input. I think that this discussion will also help me in convincing the managment and that's really awesome.
So what you guys are suggesting is that I set up a maven module that has a <sourceFile> in flex mojos config set to a mxml that extends mx:Module, right? I'm testing this at the moment, this might actually be what I need :D As for Flex Builder - we own FB 3 Pro licenses and since our project is quite big we also don't plan on moving to Flex 4 any time soon so this is not an issue. Idea 10 is really faster than 9 at least on my small projects. Tomorrow at work I will set up the project for Idea 10 and check out how it's working with big projects. Once again thanks everyone. On 4 Gru, 08:33, Christofer Dutz <[email protected]> wrote: > One thing I have to add though: > > Even if I Use IntelliJ for all of my Flash work. I still have a Flash > Builder 4 Professional (The Pro is important), because only with that you > are able to use Flex automation fully. So If you want to do serious Frontent > Unit- and Integrationtests, there will be no way around FB4 Pro. > > Chris > > 2010/12/3 Christofer Dutz <[email protected]> > > > I too have setup all of my Multi-Module projects with each module being one > > maven-module. > > > To reduce the compile+deployment costs, I usually define a maven pom which > > only references my flex modules. I f I build this, then only the swfs and > > swcs are built. I usually run my application using jetty and the > > "run-exploded" target. To allow rebuilding the applicaiton without having to > > do a complete redeploy, I created a maven profile called "debug" in this > > profile I redirect the output of the flex compiler (FM property "output") to > > my exploded war directory. this way I can rebuild the flex app without > > having to redeploy and restart the server. > > > <profiles> > > <profile> > > <id>default</id> > > <properties> > > <!-- Build the project into the target of the main > > application. --> > > > <flex.output>${basedir}/target/${project.artifactId}-${project.version}.swf</flex.output> > > </properties> > > </profile> > > <profile> > > <id>debug</id> > > <properties> > > <!-- Build the project into the target of the main > > application. --> > > > <flex.output>${basedir}/../../electronic-emotions/webapp/target/Electronic-Emotions/${project.artifactId}-${project.version}.swf</flex.output> > > </properties> > > </profile> > > </profiles> > > > And I have to admit. There's nothing better than IntelliJ for me. Even if > > there might be the one or the other bug (Eclipse/FlashBuilder is no better), > > the IntelliJ Guys are extremely fast at fixing issues you report or even > > include functionality you request. > > > I am using the 10 Version too ... and in the meanwhile I have to admit that > > it is a lot better than 9. Earlier beta builds did tend to bug me a lot, but > > they fixed most of the issues. > > > Chris > > > 2010/12/3 Charles Lee <[email protected]> > > > I agree with Bryan.. thats how i set up my projects too. > > >> For me even you can run a maven goal to copy the swf over to the webserver > >> it is slow.. What I ended up doing was to set up flex projects not as maven > >> projects but just normal flex project, it then all worked really well (as > >> you can then set the output compile path to the webserver). It did take a > >> bit of time to get everything fitted nicely, but is well worth it. > > >> I then let my CI to tell me if some dependency is missing etc, local unit > >> tests still run well in this setup (in 10 you can get intellij to use > >> different flash player to run the tests too) > > >> I have a flashBuilder 4 pro licence and was on Flex Builder 3 the code > >> editing experience is just no way as smooth as intellij. I now only use > >> flash builder when my designer give me new skins and to use its memory > >> profiler.. > > >> If you have to use flash builder.. your experience maybe better adding > >> this plugin to your IDE: > >>http://www.elementriver.com/sourcemate > > >> <http://www.elementriver.com/sourcemate>C > > >> On 2 December 2010 22:59, Bryan Turner <[email protected]> wrote: > > >>> Are all of your Flex modules in the same src/main/flex directory as your > >>> main.mxml? Or are they in separate Maven projects? It may be that to get > >>> the > >>> behavior you really want, you have to separate them out. All of my > >>> experience on working with multi-module Flex applications has had each > >>> mx:Module in a separate Maven module. In that setup, a Make in IntelliJ is > >>> guaranteed to build every module because the config-reports generated for > >>> each individual Maven module will reference the root mx:Module. > > >>> With them all in a single src/main/flex directory, I'm not sure how you'd > >>> go about achieving what you're trying to do. > > >>> Bryan > > >>> On Thu, Dec 2, 2010 at 2:49 PM, Marvin Froeder <[email protected]>wrote: > > >>>> Why don't you try contacting intelliJ folks? > > >>>> On Thu, Dec 2, 2010 at 7:02 PM, pbuda <[email protected]> wrote: > > >>>>> Just checked 10... it's still not the same as in Flex Builder. > >>>>> The problem is that: > >>>>> 1. I use main.mxml as main application entry point to fire up my shell > >>>>> that loads modules, > >>>>> 2. modules are not recompiled because no specific entries in config- > >>>>> report.xml can be found (not really sure it is even configurable that > >>>>> way). > > >>>>> config-report completly disregards (and as such Idea does that too) > >>>>> <moduleFiles> configuration tags. Sure, FM compile the modules but > >>>>> they are not recompiled using IDE builder. That is a huge drawback for > >>>>> us. > > >>>>> On 2 Gru, 21:28, pbuda <[email protected]> wrote: > >>>>> > I have to evaluate 9 though... Since evaluation on released version > >>>>> is > >>>>> > the only way to convince our management that Idea is really a better > >>>>> > idea than Flex Builder 3 we use today... However at home I will try > >>>>> to > >>>>> > check differences between 9 and 10 eap. Thanks for the tip! > > >>>>> > On 2 Gru, 16:07, Charles Lee <[email protected]> wrote: > > >>>>> > > Are they all in the same project? Maybe if you have your module in > >>>>> another > >>>>> > > project then you can select the module mxml as your main class. > > >>>>> > > Also you on intllij 9 or 10? 10 (now in RC) have given a load more > >>>>> > > flexibility (no punt intended!) in working with flex... > > >>>>> > > There are other problems with intellij and flex mojo. Namely there > >>>>> isn't a > >>>>> > > post build in intellij option to copy the build module swf else > >>>>> where (i.e. > >>>>> > > a local web server, which is where you need it if your dynamicly > >>>>> loading a > >>>>> > > module) -- i solve this by running a maven goal after build to copy > >>>>> the swf > >>>>> > > over... However you might not have this problem. > > >>>>> > > Having said that tho for writing/Editing actionscript I have really > >>>>> yet > >>>>> > > found a better IDE then intellij. I am on the intellij 10 RC.. is > >>>>> tons > >>>>> > > better then 9 and b4 > > >>>>> > > C > > >>>>> > > On 2 December 2010 14:31, pbuda <[email protected]> wrote: > > >>>>> > > > Hi, > >>>>> > > > I'm currently evaluating Intellij Idea for our project and I have > >>>>> run > >>>>> > > > into a problem. I can run application and everything works as > >>>>> expected > >>>>> > > > however one thing bothers me badly. > > >>>>> > > > I have an application, main.mxml and a module module.mxml. Since > >>>>> our > >>>>> > > > modules actually produce mx:Module things for a super awesome > >>>>> shell > >>>>> > > > I'm mostly interested in module.mxml. There is a problem however, > >>>>> > > > because Make and Compile commands from IDEA only recompile > >>>>> main.mxml. > >>>>> > > > I cannot find any place in config-report.xml that could actually > >>>>> make > >>>>> > > > the IDE builder aware of the module. The only way to obtain a new > >>>>> > > > module is to build it via Maven, but that kind of sucks... > > >>>>> > > > Is it actually possible to recompile module from IDEA? > > >>>>> > > > FM 3.6 > >>>>> > > > IDEA 9.0.4 > >>>>> > > > Maven 2.2.1 > > >>>>> > > > -- > >>>>> > > > 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%[email protected]<flex-mojos%[email protected]> > > >>>>> > > > For more options, visit this group at > >>>>> > > >http://groups.google.com/group/flex-mojos > > >>>>> > > >http://flexmojos.sonatype.org/ > > >>>>> > > -- > >>>>> > > Charliehttp://about.me/charlielee > > >>>>> -- > >>>>> 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]<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]<flex-mojos%[email protected]> > >>> For more options, visit this group at > >>>http://groups.google.com/group/flex-mojos > > >>>http://flexmojos.sonatype.org/ > > >> -- > >> Charlie > >>http://about.me/charlielee > > >> -- > >> 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 > > ... > > więcej » -- 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/
