-
Notifications
You must be signed in to change notification settings - Fork 70
/
generated-build.xml
76 lines (63 loc) · 3.69 KB
/
generated-build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="utf-8"?>
<!-- This build file provdes a close approximation of the build process
and build settings inside Flash Builder, but it is not an exact copy.
Please customize this file as necessary. -->
<!-- Generated from project settings as of 9/19/12 6:47 PM -->
<project name="WeaveAPI" default="build" basedir="C:/Weave/WeaveAPI">
<property name="FLEX_HOME" value="C:/Program Files (x86)/Adobe/Adobe Flash Builder 4.5/sdks/4.5.1"/>
<property name="SDK_VERSION" value="4.5.1.21328"/>
<taskdef name="mxmlc" classname="flex.ant.MxmlcTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="compc" classname="flex.ant.CompcTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="html-wrapper" classname="flex.ant.HtmlWrapperTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef name="asdoc" classname="flex.ant.AsDocTask" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<property name="PROJECT_DIR" value="C:/Weave/WeaveAPI"/>
<property name="SOURCE_DIR" value="${PROJECT_DIR}/src"/>
<property name="OUTPUT_DIR" value="${PROJECT_DIR}/bin"/>
<property name="LOCALE" value="en_US"/>
<target name="build">
<antcall target="clean"/>
<antcall target="compile"/>
<antcall target="asdoc"/>
</target>
<target name="clean">
<delete includeemptydirs="true">
<fileset dir="${OUTPUT_DIR}" includes="**/*"/>
</delete>
</target>
<target name="compile">
<compc
output="${OUTPUT_DIR}/WeaveAPI.swc"
include-classes=""
>
<source-path path-element="${SOURCE_DIR}"/>
<library-path file="${FLEX_HOME}/frameworks/libs/authoringsupport.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/core.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/flash-integration.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/locale/${LOCALE}" append="true"/>
<library-path file="${PROJECT_DIR}/libs" append="true"/>
<external-library-path file="${FLEX_HOME}/frameworks/libs/player/10.2/playerglobal.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/authoringsupport.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/core.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/flash-integration.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/locale/${LOCALE}" includes="*" append="true"/>
<library-path dir="${PROJECT_DIR}/libs" includes="*" append="true"/>
</compc>
</target>
<target name="asdoc">
<asdoc output="${OUTPUT_DIR}/asdoc" lenient="true" failonerror="false">
<doc-sources path-element="${SOURCE_DIR}"/>
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<library-path file="${FLEX_HOME}/frameworks/libs/authoringsupport.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/core.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/flash-integration.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/locale/${LOCALE}" append="true"/>
<library-path file="${PROJECT_DIR}/libs" append="true"/>
<external-library-path file="${FLEX_HOME}/frameworks/libs/player/10.2/playerglobal.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/authoringsupport.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/core.swc" append="true"/>
<library-path file="${FLEX_HOME}/frameworks/libs/flash-integration.swc" append="true"/>
<library-path dir="${FLEX_HOME}/frameworks/locale/${LOCALE}" includes="*" append="true"/>
<library-path dir="${PROJECT_DIR}/libs" includes="*" append="true"/>
</asdoc>
</target>
</project>