All pastes #559517 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-11 19:57 UTC
rendered paste body
<?xml version="1.0" encoding="utf-8"?>
<!-- myMXMLCBuild.xml -->
<project name="Flex Ant Tasks" basedir=".">
    <taskdef resource="flexTasks.tasks" classpath="${basedir}/lib/flexTasks.jar" />        
    <property name="FLEX_HOME" value="C:/flex/sdk"/>
    <property name="APP_ROOT" value="C:/Documents and Settings/Owner/Desktop"/>
	<property name="DEPLOY_DIR" value="C:/Documents and Settings/Owner/My Documents/Flex Builder 2/FlexPad/bin"/>
    <target name="main">
        <mxmlc 
            file="${APP_ROOT}/FlexPad.mxml" 
            output="${DEPLOY_DIR}/FlexPad.swf"
            actionscript-file-encoding="UTF-8"
            keep-generated-actionscript="true"
            incremental="true"
        >
            <!-- Get default compiler options. -->
            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>            
            <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
            <source-path path-element="${FLEX_HOME}/frameworks"/>
            <!-- List of SWC files or directories that contain SWC files. -->
            <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                <include name="libs" />
                <include name="../bundles/{locale}" />
            </compiler.library-path>
            <!-- Set size of output SWF file. -->
            <default-size width="500" height="600" />
        </mxmlc>
    </target>
    <target name="clean">
        <delete dir="${APP_ROOT}/generated"/>
        <delete>
            <fileset dir="${DEPLOY_DIR}" includes="FlexPad.swf"/>
        </delete>    
    </target>        
</project>