This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flex-tlf.git
commit 57f105dee510965325971edcce80486b92899247 Author: Josh Tynjala <joshtynj...@apache.org> AuthorDate: Mon Mar 4 15:04:00 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 4fffecb..c0e4ccf 100644 --- a/build.xml +++ b/build.xml @@ -24,7 +24,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>