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 2018/07/25 00:22:46 UTC
[royale-asjs] branch feature/MXRoyale updated: try to use variables
in build so some repos can be built on different jenkins agents
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new 2d9784b try to use variables in build so some repos can be built on different jenkins agents
2d9784b is described below
commit 2d9784b6157ba223e3a4542eb0a983378906a665
Author: Alex Harui <ah...@apache.org>
AuthorDate: Tue Jul 24 17:22:38 2018 -0700
try to use variables in build so some repos can be built on different jenkins agents
---
build.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/build.xml b/build.xml
index e33b10b..ce5e2e4 100644
--- a/build.xml
+++ b/build.xml
@@ -780,20 +780,20 @@ limitations under the License.
</target>
<target name="stage-compiler" >
- <echo file="${basedir}/../royale-compiler/env.properties">env.ASJS_HOME=${basedir}</echo>
+ <echo file="${ROYALE_COMPILER_REPO}/env.properties">env.ASJS_HOME=${basedir}</echo>
<!-- windows needs backslashes escaped -->
- <replaceregexp file="${basedir}/../royale-compiler/env.properties" match="\\" replace="\\\\\\\\" flags="g" />
- <ant dir="${basedir}/../royale-compiler" target="wipe-all" />
- <ant dir="${basedir}/../royale-compiler" target="stage-all" >
+ <replaceregexp file="${ROYALE_COMPILER_REPO}/env.properties" match="\\" replace="\\\\\\\\" flags="g" />
+ <ant dir="${ROYALE_COMPILER_REPO}" target="wipe-all" />
+ <ant dir="${ROYALE_COMPILER_REPO}" target="stage-all" >
<property name="staging-dir" value="${basedir}/temp/royale-compiler" />
</ant>
</target>
<target name="stage-typedefs" >
- <ant dir="${basedir}/../royale-typedefs" target="wipe" />
+ <ant dir="${ROYALE_TYPEDEFS_HOME}" target="wipe" />
<mkdir dir="${staging-dir}/../royale-typedefs"/>
<copy todir="${staging-dir}/../royale-typedefs" includeEmptyDirs="false" >
- <fileset dir="${basedir}/../royale-typedefs" includes="**" />
+ <fileset dir="${ROYALE_TYPEDEFS_HOME}" includes="**" />
</copy>
</target>