Reproduce GradleFx build from command line

ross.attrill's Avatar


06 Sep, 2012 07:01 AM

I assume that GradleFx shells out to mxmlc / compc for the actual compilation - is that right?

If so, is it possible to see the command line used for the compilation? If I run gradle compile -d I can't see the actual compilation command.

My reason for asking is that I would like to diagnose my GradleFx compilation and do this by comparing compilations from other build tools we are using here.

  1. Support Staff 1 Posted by Maxime Cowez on 06 Sep, 2012 09:05 AM

    Maxime Cowez's Avatar

    Hi Ross,

    Yes, mxmlc / compc are used behind the scenes.

    We have done some work on outputting more info to the screen, but it hasn't been released yet. You can check out the task-graph branch from our Github repo and use that to do your compilation. When you issue a gradle flexCompile command (yes the name has changed) you will see a log of the used compiler options.

    Bear in mind that this is not a stable release, so strange things might happen (it is fairly stable though).

  2. Support Staff 2 Posted by Yennick Trevels on 06 Sep, 2012 07:03 PM

    Yennick Trevels's Avatar

    Hi Ross,

    I've created a custom version of the current 0.5 build to which I've added the compiler argument logging. You can find the version in attachment.
    You can deploy this version on your local repository.

  3. 3 Posted by ross.attrill on 06 Sep, 2012 10:59 PM

    ross.attrill's Avatar

    Yennick and Maxime - thank you both for your help.

    I will look at these builds today.

    Much appreciated.

  4. Yennick Trevels closed this discussion on 29 Oct, 2012 09:41 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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