You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2017/12/25 18:02:59 UTC

[royale-asjs] branch develop updated: fix more areas where we depended on actual environment variables

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 53d533b  fix more areas where we depended on actual environment variables
53d533b is described below

commit 53d533b338ae2dc2f47c4a128f459579bbd15fa4
Author: Alex Harui <ah...@apache.org>
AuthorDate: Mon Dec 25 10:02:48 2017 -0800

    fix more areas where we depended on actual environment variables
---
 examples/build_example.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/examples/build_example.xml b/examples/build_example.xml
index f3f3b84..941aacf 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -65,6 +65,11 @@
         </and>
     </condition>
 
+    <condition property="playerglobal_arg" value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}">
+        <isset property="env.PLAYERGLOBAL_HOME"/>
+    </condition>
+    <property name="playerglobal_arg" value="-define+=CONFIG::dummy2,true" />
+
     <condition property="adl" value="adl.exe">
         <os family="windows"/>
     </condition>
@@ -153,6 +158,7 @@
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
             <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="${playerglobal_arg}" />
         </mxmlc>
 
         <antcall target="build_example.wrapper" />
@@ -179,6 +185,7 @@
             <jvmarg line="${mxmlc.jvm.args}"/>
             <arg line="${optional_arg}" />
             <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="${playerglobal_arg}" />
         </mxmlc>
     </target>
     

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <co...@royale.apache.org>'].