I'm using IntelliJ 9 with Flex-mojos 3.6.1 & flash 4.x and have had a very good overall experience. My project contain dozen modules with a mix of Java (server) and flex (client) code. Initial set up was a little bit of a chore to get it "just right", but once I figured out how to get it working happily I haven't had any real problems. If you have problems, I suggest creating a bunch of little sample projects starting simple and incrementally combine what you've learned to create the complexity you need.

There are a few warts and the config-report.xml file is one of them. The IntelliJ folks are aware of this as I remember seeing bugs/discussion on this topic several months ago and I believe it was targeted to be resolved in version 10, but I haven't tried it. Based on your experience, it doesn't sound like they got it right yet.

The major drawback is that you can't do full clean builds from within IntelliJ. However, you can do incremental builds just fine. I haven't really found it that painful to run maven on the command line (cygwin) or even from within the IDE (Look at the Maven Projects Tool Window).

That being said, IntelliJ provides a far superior development environment over FlexBuilder (3 & 4). I've used each of these. IntelliJ is a lot more intuitive, less buggy, and generally performs well. Intellij is only missing two things that Flex Builder provides that were noteworthy to me:

1) It doesn't have a visual designer. That being said, I found the designer in Flex Builder to be crap and had some serious memory leaks. Flex Builder would often crash within a few hours after launching the UI designer even if I didn't do anything with it. I found it useful for learning how to write UI code in flex by looking at the generated output, but that's about it.

2) IntelliJ doesn't have the service code generators that Flex Builder 4 has. While it's convenient, it's not very good for incremental service API development. I looked at using the GraniteDS code generator provided by flex-mojos, but I ended up writing my own for generating BlazeDs based code generation.

One thing to note is that if you don't intend to use Flex Builder, you still need to purchase a license in order to run the flex compiler via flex-mojos.

Thanks,

TrevorB

On 12/2/2010 1:02 PM, pbuda 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]>
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]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to