Skip to content

Instantly share code, notes, and snippets.

@mimshwright
Created November 13, 2009 00:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mimshwright/233455 to your computer and use it in GitHub Desktop.
Save mimshwright/233455 to your computer and use it in GitHub Desktop.
Flex ant task defs helper
<!-- Add this snippet to your build.xml to get flex ant tasks to work without having to copy the jar into the ant/lib folder -->
<!-- Optional: define these two values in your build.properties file. -->
<!--The version of the Flex SDK you are using. -->
<property name="flex.sdkVersion" value="3.4.0" />
<!-- The home directory for flex on your computer. -->
<property name="flex.path" location="/Applications/Adobe\ Flex\ Builder\ 3\ Plug-in" />
<!-- The Location of FlexSDK on your Computer -->
<property name="flex.sdkPath" location="${flex.path}/sdks/${flex.sdkVersion}"/>
<property name="FLEX_HOME" location="${flex.sdkPath}" description="Required by flex ant tasks" />
<!-- The Location of flex compilers on your Computer -->
<property name="flex.binaryPath" location="${flex.sdkPath}/bin"/>
<!-- path to the flex task libraries. -->
<path id="flextasks.classpath">
<fileset dir="${flex.sdkPath}/ant/lib">
<include name="*.jar"/>
</fileset>
</path>
<typedef resource="flexTasks.tasks" classpathref="flextasks.classpath" />
<property name="FLEX_HOME" location="${flex.sdkPath}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment