Java/Flex combined module from Eclipse to Intellij IDEA

Hello Intellij Idea users,

I used combined flex/java project (both wtp nature and flex nature) with my eclipse/flashbuilder project (attached the screeshot)
https://www.evernote.com/shard/s6/sh/d21195af-105b-4ca4-a34a-32fa811fe1fa/1b0d7498f6365360be3f74c4c77690b4/res/cec53b75-c617-4d9f-8416-1705e593ef93/Java_-_com.farata.cleardatabuilder.extjs_src_com_farata_cleardatabuilder_extjs_wizard_CDBProjectSecondPage.java_-_Eclipse_-__Users_apple_Workspaces_Clear-20120720-111714.png.jpg
Is it possible to same structure in idea's module and how?
If I tried to import Eclipse project (module from external model->eclipse) Idea understands only java/web related stuff
If I tried to import FlashBulder (module from external model -> Flashbuilder) idea picks only flash related stuff.
Is there a way to add flash module nature as facet?

Thanks

3 comments
Comment actions Permalink

Hi,
it was possible in IntelliJ IDEA 11.0.2 and earlier, though you had to tune configuration manually after import. In that IntelliJ IDEA version it was possible to create Java module with Flex facet (and Web facet as well if needed).
Since IntelliJ IDEA 11.0 Flash project setup is completely redesigned and now there's no such thing as Flex facet. You have either Java module for Java related stuff or Flash module for ActionScript and Flex related stuff. We find it to be a bad style to mix different technologies in one module so we are not going to return such possibility back.
As you keep java and Flex sources in different folders probably you'll be able to configure IntelliJ IDEA project with 2 modules (Java and Flash) without changing your folder structure.

0
Comment actions Permalink

Alexander,
Thanks for reply.
At this point, how would you reccomend to configure the project/module structure

  • Flex module output would be part of java module artifact.
  • how to referece services-config,xml/remoting-config.xml in compiler options of flex module what located in java module

I unable to find Flex/Java/Web project best practices on your website.

Any ideas?
Thanks in advance

0
Comment actions Permalink

Sorry for delay.

Flex module output would be part of java module artifact

Artifact editor doesn't have any restrictions that wouldn't allow you to configure it in any way, does it?

how to referece services-config,xml/remoting-config.xml in compiler options of flex module what located in java module

Flash build configuration, Compiler Options tab: there in the options tree expand Server Technology. Also this tab has 'Additional compiler options' field that gives you full control and flexibility of the Flex compilation.

0

Please sign in to leave a comment.