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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to