Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 81 lines (73 sloc) 2.595 kb
a487bcb @benstucki simplified build script
benstucki authored
1 <?xml version="1.0"?>
2 <project name="Reflex Build" basedir="." default="all">
3
4 <!-- Define variables/paths used in this build script -->
5 <property file="build.properties" />
6 <property name="FLEX_HOME" value="${flex-sdk.dir}" />
7
8 <!-- Define tasks used in this build script -->
9 <taskdef resource="flexTasks.tasks" classpath="${flex-sdk.dir}/ant/lib/flexTasks.jar"/>
10
11 <target name="all">
d242ed1 @AndrewWestberg Updating build to create output folders.
AndrewWestberg authored
12 <antcall target="init" />
a487bcb @benstucki simplified build script
benstucki authored
13 <antcall target="clean" />
14 <antcall target="compile" />
dbb6a10 @benstucki simplifying build - moving test reports to test project
benstucki authored
15 <!--<antcall target="test-reports" />-->
7a86598 @benstucki updated build order to integrate test links
benstucki authored
16 <antcall target="docs" />
a487bcb @benstucki simplified build script
benstucki authored
17 </target>
18
d242ed1 @AndrewWestberg Updating build to create output folders.
AndrewWestberg authored
19 <target name="init">
20 <mkdir dir="${bin.dir}"/>
21 <mkdir dir="${docs.dir}"/>
dbb6a10 @benstucki simplifying build - moving test reports to test project
benstucki authored
22 <!--
d242ed1 @AndrewWestberg Updating build to create output folders.
AndrewWestberg authored
23 <mkdir dir="${tests.dir}"/>
24 <mkdir dir="${reports.dir}"/>
dbb6a10 @benstucki simplifying build - moving test reports to test project
benstucki authored
25 -->
d242ed1 @AndrewWestberg Updating build to create output folders.
AndrewWestberg authored
26 </target>
27
a487bcb @benstucki simplified build script
benstucki authored
28 <target name="clean">
29 <delete includeemptydirs="true" failonerror="false">
30 <fileset dir="${bin.dir}" defaultexcludes="false">
31 <include name="**/*"/>
32 </fileset>
33 <fileset dir="${docs.dir}" defaultexcludes="false">
34 <include name="**/*"/>
35 </fileset>
dbb6a10 @benstucki simplifying build - moving test reports to test project
benstucki authored
36 <!--
a487bcb @benstucki simplified build script
benstucki authored
37 <fileset dir="${tests.dir}" defaultexcludes="false">
38 <include name="**/*"/>
39 </fileset>
dbb6a10 @benstucki simplifying build - moving test reports to test project
benstucki authored
40 -->
a487bcb @benstucki simplified build script
benstucki authored
41 </delete>
42 </target>
43
44 <!--
45 Compile all of the classes under the "src" tree into a .swc file
46 -->
47 <target name="compile">
48 <compc output="${bin.dir}/${library.name}.swc" link-report="${link-report.dir}/link-report.xml">
49 <source-path path-element="${src.dir}"/>
675d9bf @benstucki updating build
benstucki authored
50 <namespace uri="http://rx.reflex.io/2010" manifest="${src.dir}/manifest.xml" />
51 <include-namespaces>http://rx.reflex.io/2010</include-namespaces>
a487bcb @benstucki simplified build script
benstucki authored
52 <strict>true</strict>
53 <optimize>true</optimize>
54 <warnings>true</warnings>
55 <external-library-path dir="${flex-sdk.dir}/frameworks/libs/player/${flex-sdk.player}" append="true">
56 <include name="playerglobal.swc" />
57 </external-library-path>
58 <library-path dir="${flex-sdk.dir}/frameworks" append="true">
59 <include name="libs/*.swc" />
60 <include name="locale/${flex-sdk.locale}/*.swc" />
61 </library-path>
62 <library-path dir="libs" append="true">
63 <include name="*.swc" />
64 </library-path>
65 </compc>
66 </target>
67
68 <!--
69 Generate ASDoc output for the library
70 -->
71 <target name="docs">
72 <asdoc output="${docs.dir}" templates-path="${docs.templates}">
73 <doc-namespaces uri="http://reflex.io/2010" />
74 <namespace uri="http://reflex.io/2010" manifest="${basedir}/src/manifest.xml" />
75 <source-path path-element="${src.dir}" />
76 <library-path dir="${flex-sdk.dir}/frameworks/libs" includes="*.swc" append="true" />
77 <library-path dir="${basedir}/libs" includes="*.swc" append="true" />
78 </asdoc>
79 </target>
80
81 </project>
Something went wrong with that request. Please try again.