#9540 Flex Compiler Settings

Hello Maxim,

even though the RSL feature is very welcome I am not so happy with the new Flex Compiler Settings dialog:
- my old project failed to compile (it's not backward compatible)
- I found the disabled fields very confusing and it took me a while to figure out, that clearing the "Compiler configuration file" enabled a few fields
- I was not able to detect the logic (what goes into compiler-config.xml, what goes on the command line), I think IDEA prepares a temporary compiler-config.xml

My suggestion would be to keep the logic as in 8.0.1 which was very transparent to the user:
- leave all fields always enabled
- the libraries configured under dependencies implicitly go into the mxmlc command line
- the "Additional compiler options" are just added to the command line
- anything from "compiler-config.xml" is also just added by the mxmlc command
- add "-static-link-runtime-shared-libraries=false" to the command line, if RSL is checked

With this logic it would be easy to debug the compile process, if it does not work as expected - the command line options used at compile time are printed out in the messages panel (including the usage of compiler-config.xml).

It would be great to see a new EAP soon, because I want all the other stuff that has been fixed in the Flex support :-)

Thanks,
Peter

2 comments
Comment actions Permalink

When config is not selected, all stuff (except additional options) go to
temporary config file (under project base dir) to avoid 'spaces in the
path' fsch problem.
When config is selected then no other options passed.

Peter Jacobsen wrote:

Hello Maxim,

even though the RSL feature is very welcome I am not so happy with the new Flex Compiler Settings dialog:
- my old project failed to compile (it's not backward compatible)
- I found the disabled fields very confusing and it took me a while to figure out, that clearing the "Compiler configuration file" enabled a few fields
- I was not able to detect the logic (what goes into compiler-config.xml, what goes on the command line), I think IDEA prepares a temporary compiler-config.xml

My suggestion would be to keep the logic as in 8.0.1 which was very transparent to the user:
- leave all fields always enabled
- the libraries configured under dependencies implicitly go into the mxmlc command line
- the "Additional compiler options" are just added to the command line
- anything from "compiler-config.xml" is also just added by the mxmlc command
- add "-static-link-runtime-shared-libraries=false" to the command line, if RSL is checked

With this logic it would be easy to debug the compile process, if it does not work as expected - the command line options used at compile time are printed out in the messages panel (including the usage of compiler-config.xml).

It would be great to see a new EAP soon, because I want all the other stuff that has been fixed in the Flex support :)

Thanks,
Peter

---
Original message URL: http://www.jetbrains.net/devnet/message/5228347#5228347



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

In the cold weather, the UGG boots are considered as the best shoes.More and more people like wearing the UGG boots such as the http://sell-ugg.com/UGG-Classic-Metallic-5812/c9/index.html.With its development ,the UGG boots have lauched different kinds of boots into the fashion market,including the http://uggboots-euro.com/UGG-Classic-Short-Boots/c3/index.html and the http://uggboots-euro.com/UGG-Women%27s-ighkoo/c23/index.html.However,in the fashion world,if you want to be more attractive and elegant,the beautiful shoes are not enough.You have to choose the best stylish handbag to match your shoes.Therefor,the designer replica handbags are very necessary.If you want to buy the best designer cheap handbags,i would like to introduce two famous brand handbags to you.I think there must be one handbag is your favorite.One is the famous brand http://www.famousbrandbag.com/Versace/c40/index.html,the other is the Ferragamo Handbags.Both of them are the famous brand in the world.Their quality are very good.

---
Original message URL: http://www.jetbrains.net/devnet/message/5254920#5254920

0

Please sign in to leave a comment.