Get installed Flex SDK path

Andrei Starodubctev's Avatar

Andrei Starodubctev

09 Feb, 2016 08:22 AM

How I can get path to installed Flex SDK (gradlefx flex sdk autoinstall)? There is flexHome property, but this property stores system environment value (FLEX_HOME).

  1. Support Staff 1 Posted by Yennick Trevels on 09 Feb, 2016 08:42 AM

    Yennick Trevels's Avatar

    Hi Andrei,

    When using the autoinstall feature, GradleFx will automatically fill in the flexHome property with the path to the installed Flex SDK.

    however, when referencing the flexHome variable in your build script, make sure to wrap it in an afterEvaluate block:

    afterEvaluate {
        ... ${flexHome} ...
    }
    
  2. 2 Posted by Andrei Starodub... on 09 Feb, 2016 09:07 AM

    Andrei Starodubctev's Avatar

    Thx for answer. It works!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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