This is an automated email from the ASF dual-hosted git repository. carlosrovira pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 2e29c14a313badc0723b59a3f4efa4598382637d Author: Carlos Rovira <[email protected]> AuthorDate: Tue Feb 26 13:52:33 2019 +0100 trying to integrate with ant but is failing --- frameworks/projects/Jewel/build.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frameworks/projects/Jewel/build.xml b/frameworks/projects/Jewel/build.xml index dba5aaa..e124107 100644 --- a/frameworks/projects/Jewel/build.xml +++ b/frameworks/projects/Jewel/build.xml @@ -26,6 +26,7 @@ <property environment="env"/> <property file="${ROYALE_HOME}/build.properties"/> <property name="ROYALE_HOME" value="${ROYALE_HOME}"/> + <property name="locale" value="'en_US'"/> <property name="target.name" value="${ant.project.name}.swc" /> @@ -91,12 +92,14 @@ <jvmarg value="-Dsun.io.useCanonCaches=false" /> <jvmarg value="-Droyalelib=${ROYALE_HOME}/frameworks" /> <arg value="+royalelib=${ROYALE_HOME}/frameworks" /> + <arg value="-compiler.define+=LOCALE::language,${locale}" /> <arg value="+playerglobal.version=${playerglobal.version}" /> <arg value="+env.AIR_HOME=${env.AIR_HOME}" /> <arg value="-compiler.strict-xml=true" /> <arg value="-compiler.targets=SWF,JSRoyale" /> <arg value="-output=${basedir}/target/${target.name}" /> <arg value="-load-config=${basedir}/src/main/config/compile-swf-config.xml" /> + <arg value="-js-compiler-define+=LOCALE::language,${locale}" /> <arg value="-js-load-config=${ROYALE_HOME}/frameworks/js-config.xml" /> <arg value="-js-load-config+=${basedir}/../../js/projects/${ant.project.name}JS/src/main/config/compile-js-config.xml" /> </java>
