Skip to content

Commit

Permalink
updated build.xml and build.properties to build for Flash Player 10
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbourne committed Aug 1, 2011
1 parent 156b5eb commit 920ced4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion build.properties
Expand Up @@ -8,5 +8,6 @@ build.artifact=${build.artifactId}-${build.version}
test.runner=UtilsTestRunner
test.runner.ext=as

flexunit.version=4.0.0
flexunit.version=4.1.0-33
flexsdk.version=3.5.0.12683
flexpmd.version=1.1
18 changes: 9 additions & 9 deletions build.xml
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<project
name="as3-utils"
basedir="."
default="package">
name="as3-utils"
basedir="."
default="package">

<!--
as3-utils
Expand Down Expand Up @@ -87,7 +87,9 @@
depends="initialize, compile-check-if-required"
unless="compile.not-required">

<compc output="${bin.loc}/${build.artifact}.swc">
<compc output="${bin.loc}/${build.artifact}.swc"
target-player="10.0">

<source-path path-element="${src.loc}" />

<include-sources dir="${src.loc}">
Expand All @@ -100,7 +102,6 @@
</library-path>

<compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
<compiler.headless-server>true</compiler.headless-server>
</compc>

</target>
Expand All @@ -114,8 +115,9 @@

<!-- Compile Test -->
<mxmlc
file="${test.loc}/${test.runner}.${test.runner.ext}"
output="${bin.loc}/${test.runner}.swf">
target-player="10.0"
file="${test.loc}/${test.runner}.${test.runner.ext}"
output="${bin.loc}/${test.runner}.swf">

<library-path dir="${bin.loc}" append="true">
<include name="${build.artifact}.swc" />
Expand All @@ -126,14 +128,12 @@
</library-path>

<compiler.verbose-stacktraces>true</compiler.verbose-stacktraces>
<compiler.headless-server>true</compiler.headless-server>
</mxmlc>

<!-- Execute Tests -->
<flexunit
swf="${bin.loc}/${test.runner}.swf"
toDir="${report.flexunit.loc}"
headless="true"
haltonfailure="false"
verbose="true"
localTrusted="true" />
Expand Down

0 comments on commit 920ced4

Please sign in to comment.