ActionScript compiler config XMLs are deleted after compilation, but I would like to keep them

Answered

We use Ant scripts for our build server. However, this means manually updating the Ant scripts whenever there is a change in any of our modules, which often leads to broken builds by the server in case of significant changes.

I've been able to copy one of the config XML's generated by IntelliJ (I believe based on the .iml and .actionScriptProperties files per module) and feed it to the Ant script. What's tricky is that after IntelliJ compiles (e.g. when debugging), it deletes the config XML's, so it becomes a timing game to get them. 

Can this cleanup be disabled?

0
4 comments
Official comment

These XMLs are auto-deleted because they are not intended to be reused in any way. But at your own risk, you may add the following to the 'User-local build process VM options' field in Settings | Build, Execution, Deployment | Compiler:

-Didea.keep.flex.temporary.files=true
Avatar
Permanently deleted user

Hi Alexander, thanks for the reply!

I tried adding that option where you specified. But it didn't change anything :( The files are still deleted after compilation. I also tried restarting IDEA, but it didn't change anything.

Any idea why it might not be working?

0

Sorry, I've updated my first comment.

0
Avatar
Permanently deleted user

Perfect! Thank you Alexander, and have a great weekend :)

0

Please sign in to leave a comment.