How does FlexBuilder compile my application?

I would like to see the command line arguments that FlexBuilder uses to compile my application. This is so that I can create them in the ANT script I'm working on. Is there a way to view the command line compilation step?

The reason I ask for this is because when compiling my application using the Ant / Flex SDK and FlexBuilder, my application behaves differently.

+4
source share
1 answer

So, I understood the answer.

First of all, you can better understand how FlexBuilder compiles your application by adding -dump-config = C: \ myConfig.xml to compile the arguments in FlexBuilder. This outputs an XML file containing the configuration parameters used at compile time. You can also use this file as an argument to compc or mxmlc if you want. Read more about it here ...

But, that’s what really solved my problem. I used the regular old SDK SDK installed on our integration server to compile my applications using Ant. This is a free SDK that you can download from the Adobe website. Then I took the FlexBuilder directory from my local computer and copied it to the integration server and pointed my build script to use this version of the SDK (and changed my env variable).

When I compiled the FlexBuilder SDK version, everything was fine, and the strange errors that I saw in my application disappeared.

Moral of the story, make sure you use the same version of the SDK for your automated builds that you use to create locally.

+3
source

All Articles