public
Last active

Flex ant task defs helper

  • Download Gist
FlexAntTaskDefs.xml
XML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<!-- 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}" />

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.