More jiggering pokering workarounds for crapness of asc (files built with AscLibTask cannot be used to execute a VM, only to build a VM)... confusing, I know... ask Zell

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5142 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-05-30 01:10:29 +00:00
parent 64f418fca9
commit 7ac8aa5583
8 changed files with 448 additions and 21 deletions
+10 -12
View File
@@ -113,20 +113,20 @@
<!-- builds our Flash (abc) library -->
<target name="abclib" unless="abclib_up_to_date" depends="check-abclib,prepare"
description="Build the abc library for tests classes">
<taskdef name="asc" classname="flex.ant.AscLibTask" classpathref="classpath"/>
<dirname property="abs.deploy.dir" file="${deploy.dir}/somefile.txt"/>
<asc as3="true" strict="true" classpathref="classpath"
outdir="${abs.deploy.dir}" out="testslib">
<taskdef name="asc" classname="flex.ant.AscTask" classpathref="classpath"/>
<asc as3="true" strict="true" classpathref="classpath" use="AS3">
<import dir="../dist">
<include name="builtin.abc"/>
<include name="thane.abc"/>
<include name="narya-abc.abc"/>
</import>
<filespec dir="src/as">
<in dir="src/as">
<include name="**/*.as"/>
<exclude name="**/*Main.as"/>
</filespec>
</in>
<filespec dir="../etc" includes="empty.as"/>
</asc>
<move overwrite="true" file="../etc/empty.abc" tofile="${deploy.dir}/testslib.abc"/>
</target>
<!-- test the component metadata bundling process -->
@@ -223,18 +223,16 @@
<target name="bureau-compile-thane-client"
unless="thane_client_up_to_date" depends="abclib,bureau-check-thane-client"
description="Compiles the thane client for testing the bureau library">
<taskdef name="ascx" classname="flex.ant.AscTask" classpathref="classpath"/>
<ascx as3="true" strict="true" classpathref="classpath">
<taskdef name="asc" classname="flex.ant.AscTask" classpathref="classpath"/>
<asc as3="true" strict="true" classpathref="classpath" use="AS3">
<import dir="..">
<include name="dist/builtin.abc"/>
<include name="dist/thane.abc"/>
<include name="dist/narya-abc.abc"/>
<include name="tests/dist/testslib.abc"/>
</import>
<filespec dir="src/as">
<include name="com/threerings/bureau/client/TestClientMain.as"/>
</filespec>
</ascx>
<filespec dir="src/as" includes="com/threerings/bureau/client/TestClientMain.as"/>
</asc>
<move overwrite="true" file="src/as/com/threerings/bureau/client/TestClientMain.abc" todir="dist"/>
</target>