|
|
|||||
Регистрация: Oct 2012
Сообщений: 14
|
build failed: File does not exist
Возникла проблема при компиляции билд-файла в FlashBuilder 4.7 выходит ошибка:
Buildfile: /Users/gadzimari/Documents/Adobe Flash Builder 4.7/Flex_Ant_Tasks/build.xml init: [delete] Deleting directory /Users/gadzimari/Documents/Adobe Flash Builder 4.7/Flex_Ant_Tasks/DEPLOY [mkdir] Created dir: /Users/gadzimari/Documents/Adobe Flash Builder 4.7/Flex_Ant_Tasks/DEPLOY compile flex project: BUILD FAILED /Users/gadzimari/Documents/Adobe Flash Builder 4.7/Flex_Ant_Tasks/build.xml:17: File does not exist: mxmlc.jar Версия Ant 1.8.2. Версия Flex SDK 4.6.0 build.xml <project name="Flex Ant Tasks Build Script" default="compile flex project"> <!-- load previously defined configuration properties file --> <property file="build.properties" /> <!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project --> <taskdef resource="flexTasks.tasks" classpath="${basedir}/libs/flexTasks.jar"/> <!-- delete and recreate the DEPLOY dir --> <target name="init"> <delete dir="${DEPLOY_DIR}" /> <mkdir dir="${DEPLOY_DIR}" /> </target> <!-- Build and output the Main.swf--> <target name="compile flex project" depends="init"> <mxmlc file="${SRC_DIR}/Main.mxml" output="${DEPLOY_DIR}/Main.swf"> <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> <source-path path-element="${FLEX_HOME}/frameworks"/> <compiler.debug>false</compiler.debug> </mxmlc> </target> </project> # change this to your Flex SDK directory path FLEX_HOME=/Applications/Adobe Flash Builder 4.7/sdks # this points to your project's src directory # {$basedir} is a default variable that can be used in any Ant script # and it points to the project's root folder [ Flex_Ant_Tasks ] in this case SRC_DIR =${basedir}/src # points to the project's libs directory LIBS_DIR =${basedir}/libs # this is the folder we want to publish the swf to DEPLOY_DIR = ${basedir}/DEPLOY Последний раз редактировалось gadzhimari; 11.01.2013 в 13:38. |
Часовой пояс GMT +4, время: 21:00. |
|
« Предыдущая тема | Следующая тема » |
|
|