...
Code Block | ||
---|---|---|
| ||
<target name="-mobileBuild"> <if> <equals arg1="${PACKAGE_FOR_MOBILE}" arg2="Y" /> <then> <property file="modelHouseMobileBuilder.properties" /> <echo message="Compressing Implementation Team's JS Files" /> <antcall target="-compressImplJSFiles"> <param name="MOB_TEMP_WORK_DIR" value="${MODEL_BUILD_ROOT}/TEMP" /> <param name="MOB_CT_JARS_DIR" value="${CT_JARS_ROOT}" /> <param name="MOB_COMPRESSOR_ONDEMAND_FILE" value="${MODEL_SRC_ROOT}/CTModelHouseResources/src/main/resource/ondemandjsfiles_lib.xml" /> <param name="MOB_COMPRESSOR_ROOT_SRC_FOLDER" value="${CTMODEL_SVN_HOME}/CTModelHouse/Sources/CTModelHouse/src/main/" /> </antcall> <echo message="Preparing temp war File ${mobile.build.type}" /> <antcall target="-prepmobilebuild"> <param name="MOB_TEMP_WORK_DIR" value="${MODEL_BUILD_ROOT}/TEMP" /> <param name="TEMP_MODEL_WAR_FILE" value="${MODEL_BUILD_ROOT}/TEMP/ctmodelhouse.war" /> <param name="MOB_WAR_SOURCE_LOCATION" value="${MODEL_BUILD_ROOT}/war" /> <param name="MOB_BUILD_TYPE" value="${mobile.build.type}" /> </antcall> <echo message="Triggering mobile packaging for Modelhouse" /> <antcall target="canvas.packageForMobile"> <param name="SVN_ROOT" value="${CTMODEL_SVN_HOME}" /> <param name="MOBILE_PROPS" value="modelHouseMobileBuilder.properties" /> <param name="OUTPUT_DIR" value="${MODEL_DIST_ROOT}" /> <param name="BUILD_VERSION" value="${buildVersion}" /> <param name="war.source.location" value="${MODEL_BUILD_ROOT}/TEMP/ctmodelhouse.war.zip" /> </antcall> </then> <else> <echo message="Mobile packaging disabled for this build." level="info" /> </else> </if> </target> |
...