How to override config file compiler argument -load-config?
I noticed that GradleFx automatically chooses the config file to use depending on the artifact type (what gets specified in the '-load-config=blah' compiler argument). However, we have a specially crafted config.xml that we would like to use instead, but it's not clear to me how we override that setting. Is it exposed at all? If not, any suggestions on how to work around it?
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Yennick Trevels on 05 Mar, 2015 07:20 AM
it has no dedicated convention property, but you can specify it with the 'additionalCompilerOptions' property:
2 Posted by wenslayer on 05 Mar, 2015 04:11 PM
Thank you, Yennick. That seems to work, although I notice the compiler options list both the '-load-config+=/path/to/SDK/frameworks/flex-config.xml' followed by my own '-load-config=/path/to/my/config.xml'. I imagine the settings in my config.xml will "win" since they come after (and/or use the '=' instead of '+=').
Support Staff 3 Posted by Yennick Trevels on 05 Mar, 2015 06:26 PM
indeed, the compiler will use your xml config since you basically override the "load-config" parameter by using "=" and because it comes last.
Yennick Trevels closed this discussion on 05 Mar, 2015 06:26 PM.