Hello I have tried to create swf using ant build script for FlexJS project but i have found that "ant" dir is missing in FlexJS sdk.I have copy/paste the flexTasks.jar file from 4.14.1 to my project but getting error.
Build.xml <project name="ProminicNative Build Script" basedir="." default="disposeTempFiles"> <tstamp> <format property="timestamp" pattern="yyyy-MM-dd_HH-mm-ss" /> </tstamp> <property name="FLEX_HOME" value="/Users/kinjal/Documents/FlexSDKs/FlexJS0.5.0" /> <property name="FALCON_HOME" value="/Users/kinjal/Documents/FlexSDKs/FlexJS0.5.0" /> <property name="DEPLOY_DIR" value="DEPLOY"/> <property name="DEBUG_DIR" value="build-debug" /> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="ant-contrib-0.6.jar"/> <taskdef resource="flexTasks.tasks" classpath="flexTasks.jar"/> <property name="MXMLC_PATH" value="${FALCON_HOME}/lib/falcon-mxmlc.jar" /> <property name="SOURCE_DIR" value="../src"/> <property name="SOURCE_APP_FILE" value="${SOURCE_DIR}/NewFlexJSProject.mxml" /> <property name="SWF_FILENAME" value="NewFlexJSProject.swf" /> <property name="SWF_FILE_PATH" value="${DEPLOY_DIR}/${SWF_FILENAME}" /> <target name="init"> <delete dir="${DEPLOY_DIR}"/> <delete dir="${DEBUG_DIR}" /> <mkdir dir="${DEPLOY_DIR}" /> <mkdir dir="${DEBUG_DIR}" /> </target> <target name="compileWeb" depends="init"> <mxmlc file="${SOURCE_APP_FILE}" output="${SWF_FILE_PATH}" swf-version="25" locale="en_US" static-rsls="true" optimize="true" actionscript-file-encoding="UTF-8" incremental="false" keep-generated-actionscript="false" maxmemory="3072m"> <load-config filename="${FALCON_HOME}/frameworks/flex-config.xml"/> <source-path path-element="${FALCON_HOME}/frameworks" /> <source-path path-element="${SOURCE_DIR}"/> <compiler.debug>false</compiler.debug> <library-path dir="${DEBUG_DIR}" includes="*.swc" append="true" /> </mxmlc> </target> <target name="generateHTML" depends="compileWeb"> <copy todir="${DEPLOY_DIR}" overwrite="true"> <fileset dir="html"/> </copy> </target> <target name="disposeTempFiles" depends="generateHTML"> <delete dir="${DEBUG_DIR}" /> </target> </project> Error: Kinjals-MacBook-Air:~ kinjal$ ant -file /Users/kinjal/Documents/NewFlexJSProject/build/build.xml Buildfile: /Users/kinjal/Documents/NewFlexJSProject/build/build.xml init: [delete] Deleting directory /Users/kinjal/Documents/NewFlexJSProject/build/DEPLOY [delete] Deleting directory /Users/kinjal/Documents/NewFlexJSProject/build/build-debug [mkdir] Created dir: /Users/kinjal/Documents/NewFlexJSProject/build/DEPLOY [mkdir] Created dir: /Users/kinjal/Documents/NewFlexJSProject/build/build-debug compileWeb: BUILD FAILED /Users/kinjal/Documents/NewFlexJSProject/build/build.xml:74: The class not found in jar file: mxmlc.jar Total time: 0 seconds Thanks, Kinjal -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Ant-build-for-FlexJS-tp11700.html Sent from the Apache Flex Users mailing list archive at Nabble.com.