Created
March 18, 2009 15:44
-
-
Save ruprict/81201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<project name="esiCompLib" basedir="." default="main"> | |
<property name="task.lib.dir" value="../../../Build/Ant/"/> | |
<taskdef resource="flexTasks.tasks" classpath="../../../Build/Ant/flexTasks.jar" /> | |
<property name="FLEX_HOME" value="C:/Program Files (x86)/Adobe/Flex Builder 3/sdks/3.2.0"/> | |
<property name="DEPLOY_DIR" value="${basedir}/bin"/> | |
<property name="COMPONENT_ROOT" value="components"/> | |
<property name="compc.jar" value="${task.lib.dir}/compc.jar"/> | |
<property name="thirdparty.dir" value="../../../Third Party"/> | |
<target name="main" depends="clean"> | |
<fileset id="sources" dir="src/com/esi"> | |
<include name="**/*.as" /> | |
</fileset> | |
<!--<apply executable="cmd.exe" append="true"> | |
<arg line="echo" /> | |
<fileset dir="src/com/esi"> | |
<include name="**/*.as" /> | |
</fileset> | |
</apply>--> | |
<pathconvert property="classes" pathsep=" " refid="sources"> | |
<chainedmapper> | |
<globmapper from="${basedir}\src\" to="*"/> | |
<mapper type="package" from="*.as" to="*"/> | |
</chainedmapper> | |
</pathconvert> | |
<echo message="classes is set to = ${classes}"/> | |
<compc | |
output="${DEPLOY_DIR}/esiCompLib.swc" include-classes="${classes}"> | |
<source-path path-element="${basedir}/src"/> | |
<compiler.external-library-path dir="${thirdparty.dir}/Adobe" append="true"> | |
<include name="*" /> | |
</compiler.external-library-path> | |
<compiler.external-library-path dir="${thirdparty.dir}/ESRI" append="true"> | |
<include name="*" /> | |
</compiler.external-library-path> | |
<compiler.external-library-path dir="${thirdparty.dir}/Fluint" append="true"> | |
<include name="*" /> | |
</compiler.external-library-path> | |
<!-- <include-file name="f1-1.jpg" path="assets/images/f1-1.jpg"/> | |
<include-file name="f1-2.jpg" path="assets/images/f1-2.jpg"/> | |
<include-file name="f1-3.jpg" path="assets/images/f1-3.jpg"/> | |
<include-file name="f1-4.jpg" path="assets/images/f1-4.jpg"/> | |
<include-file name="main.css" path="assets/css/main.css"/> --> | |
</compc> | |
</target> | |
<target name="clean"> | |
<delete> | |
<fileset dir="${DEPLOY_DIR}" includes="esiCompLib.swc"/> | |
</delete> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment