0 Replies Latest reply on Jun 9, 2009 10:32 PM by flairjax

    Flash Builder and Ant

    flairjax Level 1

      I am trying to use Ant in Flash Builder.  I have download the java development package for Eclipse and have the following build.xml file, but I get it terminates with error: "terminated exit value: 133 /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java"

       

      <?xml version="1.0" encoding="utf-8"?>
      <project name="My App Builder" basedir=".">
          <taskdef resource="flexTasks.tasks" classpath="${basedir}/libs/flexTasks.jar"/>
          <property name="FLEX_HOME" value="/Applications/Adobe Gumbo Preview/sdks/4.0.0"/>
          <property name="APP_ROOT" value="/src"/>
          <property name="DEPLOY_DIR" value="/Users/my_name/work/company/public/flash"/>
          <target name="main">
              <mxmlc file="${APP_ROOT}/Map.mxml" keep-generated-actionscript="true" output="${DEPLOY_DIR}/Map.swf">
                  <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                  <source-path path-element="${FLEX_HOME}/frameworks"/>
              </mxmlc>
          </target>
      </project>

       

      Any suggestions?  Do I need to manually install Ant on my Mac, as installing via FlashBuilder/eclipse should be enough correct?