This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/flex-tlf.git
commit 87259fe135edf05d38be280161248b7e9b202d27 Author: Josh Tynjala <[email protected]> AuthorDate: Mon Mar 4 15:35:15 2024 -0800 build.xml: allow env.FLEX_HOME --- build.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index ff2221c..bf7c74b 100644 --- a/build.xml +++ b/build.xml @@ -22,7 +22,12 @@ Override on cmd line with -D=FLEX_HOME=path. --> <!--<property file="${basedir}/local.properties"/>--> <!-- Default Flex SDK is the trunk. Override on cmd line with -D=FLEX_HOME=path. --> - <property name="FLEX_HOME" value="${basedir}/../flex-sdk"/> + <condition property="FLEX_HOME" value="${env.FLEX_HOME}"> + <available file="${env.FLEX_HOME}/lib/compc.jar" type="file" /> + </condition> + <condition property="FLEX_HOME" value="${basedir}/../flex-sdk"> + <available file="${basedir}/../flex-sdk/lib/compc.jar" type="file" /> + </condition> <echo>FLEX_HOME is ${FLEX_HOME}</echo> <echo>Minimal test is set ${minimalTests}</echo> <property name="flex.sdk.frameworks" value="${FLEX_HOME}/frameworks"/>
