2 Replies Latest reply on Feb 15, 2008 5:43 AM by Neill L

    Flex Ant Tasks <html-wrapper> problem

    Neill L
      I'm getting BUILD SUCCESSFUL and an SWF file, but no HTML wrapper. Any help is appreciated!


      Apache Ant version 1.7.0 compiled on December 13 2006
      Buildfile: C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml
      parsing buildfile C:\Installs\MTCSEWorkspace\MTCSE_WebApp\flex-build.xml with URI = file:/C:/Installs/MTCSEWorkspace/MTCSE_WebApp/flex-build.xml
      Project base dir set to: C:\Installs\MTCSEWorkspace\MTCSE_WebApp
      [antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
      Build sequence for target(s) `wrapper' is [compile, wrapper]
      Complete build sequence is [compile, wrapper, ]
      compile:
      [mxmlc] Loading configuration file C:\Installs\MTCSEStudio\Flex Builder 3 Plug-in\sdks\2.0.1\frameworks\flex-config.xml
      [mxmlc] C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp/ValidValueTest.swf (592822 bytes)
      wrapper:
      BUILD SUCCESSFUL
      Total time: 18 seconds

      <?xml version="1.0" encoding="utf-8"?>
      <!-- flex-build.xml -->
      <project name="My App Builder" basedir=".">
      <property name="FLEX_HOME"
      value="C:\Installs\MTCSEStudio\Flex Builder 3 Plug-in\sdks\2.0.1" />
      <property name="ANT_HOME"
      value="C:\Installs\MTCSEStudio\eclipse\plugins\org.apache.ant_1.7.0.v200706080842" />
      <property name="MTCSE_WebApp"
      value="C:\Installs\MTCSEWorkspace\MTCSE_WebApp" />
      <property name="DEPLOY_DIR"
      value="C:\Installs\MTCSEWorkspace\MTCSE_WebApp\target\MTCSE_WebApp" />
      <taskdef resource="flexTasks.tasks"
      classpath="${ANT_HOME}/lib/flexTasks.jar" />
      <target name="main">
      <mxmlc file="${MTCSE_WebApp}/flex_src/ValidValueTest.mxml"
      keep-generated-actionscript="false" output="${DEPLOY_DIR}/ValidValueTest.swf">
      <load-config
      filename="${FLEX_HOME}/frameworks/flex-config.xml" />
      <source-path path-element="${FLEX_HOME}/frameworks" />
      </mxmlc>
      <html-wrapper swf="ValidValueTest"
      output="${DEPLOY_DIR}" />
      </target>
      </project>