Preparing narya abc for mavenification: renamed naryalib.abc to narya-abc.abc so artifactId does not conflict. Also fixed narya-dist to include bureau classes and swapped in new hard-wired avmthane for test client target.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5114 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jamie Doornbos
2008-05-21 23:39:35 +00:00
parent 15127aa5df
commit 3940a13e32
2 changed files with 10 additions and 8 deletions
+3 -2
View File
@@ -210,7 +210,7 @@
<condition property="no_build_abclib"><or>
<not><available classname="macromedia.asc.embedding.ScriptCompiler"
classpathref="classpath"/></not>
<uptodate targetfile="${deploy.dir}/${lib.name}lib.abc">
<uptodate targetfile="${deploy.dir}/${lib.name}-abc.abc">
<srcfiles dir="src/as" includes="**/*.as"/>
<srcfiles dir="src/as" includes="**/Environment.as-tm"/>
<srcfiles dir="etc" includes="asc-files.txt"/>
@@ -242,7 +242,7 @@
<arg value="src/as/com/threerings/util/env/Environment.as"/>
</java>
<move file="src/as/com/threerings/util/env/Environment.abc"
tofile="${deploy.dir}/${lib.name}lib.abc"/>
tofile="${deploy.dir}/${lib.name}-abc.abc"/>
<delete file="src/as/com/threerings/util/env/Environment.as"/>
</target>
@@ -302,6 +302,7 @@
<fileset dir="${classes.dir}" includes="com/threerings/presents/**"/>
<fileset dir="${classes.dir}" includes="com/threerings/crowd/**"/>
<fileset dir="${classes.dir}" includes="com/threerings/admin/**"/>
<fileset dir="${classes.dir}" includes="com/threerings/bureau/**"/>
</jar>
<jar destfile="${deploy.dir}/${lib.name}-tests.jar">
<fileset dir="tests/${classes.dir}" includes="com/threerings/**"/>
+7 -6
View File
@@ -105,6 +105,7 @@
<uptodate targetfile="${deploy.dir}/testslib.abc">
<srcfiles dir="../lib" includes="builtin.abc"/>
<srcfiles dir="../lib" includes="thane.abc"/>
<srcfiles dir="../dist" includes="narya-abc.abc"/>
<srcfiles dir="etc" includes="etc/asc-files.txt"/>
<srcfiles dir="src/as" includes="**/*.as"/>
</uptodate>
@@ -129,7 +130,7 @@
<arg value="-import"/>
<arg value="../lib/thane.abc"/>
<arg value="-import"/>
<arg value="../dist/naryalib.abc"/>
<arg value="../dist/narya-abc.abc"/>
<arg line="${ascfiles}"/>
<arg value="src/as/Lib.as"/>
</java>
@@ -240,7 +241,7 @@
<arg value="-import"/>
<arg value="../lib/thane.abc"/>
<arg value="-import"/>
<arg value="../dist/naryalib.abc"/>
<arg value="../dist/narya-abc.abc"/>
<arg value="-import"/>
<arg value="dist/testslib.abc"/>
<arg value="src/as/com/threerings/bureau/client/TestClientMain.as"/>
@@ -264,8 +265,8 @@
<sysproperty key="numBureaus" value="2"/>
<sysproperty key="maxOps" value="5"/>
<sysproperty key="createChance" value="70"/>
<sysproperty key="minDelay" value="3000"/>
<sysproperty key="maxDelay" value="5000"/>
<sysproperty key="minDelay" value="1000"/>
<sysproperty key="maxDelay" value="3000"/>
<sysproperty key="seed" value="0"/>
<sysproperty key="clientTarget" value="bureau-run-thane-client"/>
</java>
@@ -287,9 +288,9 @@
<!-- runs the thane test client -->
<target name="bureau-run-thane-client" depends="bureau-compile-thane-client"
description="Runs the thane client for testing the bureau library">
<exec executable="/export/thane/tamarin-central/objdir-debug/thane/avmthane">
<exec executable="/export/thane/tamarin-central/dist/thane/avmthane">
<!--arg value="-Dverbose"/-->
<arg value="../dist/naryalib.abc"/>
<arg value="../dist/narya-abc.abc"/>
<arg value="dist/testslib.abc"/>
<arg value="dist/TestClientMain.abc"/>
<arg value="--"/>