Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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 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"/>
<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