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:
@@ -210,7 +210,7 @@
|
|||||||
<condition property="no_build_abclib"><or>
|
<condition property="no_build_abclib"><or>
|
||||||
<not><available classname="macromedia.asc.embedding.ScriptCompiler"
|
<not><available classname="macromedia.asc.embedding.ScriptCompiler"
|
||||||
classpathref="classpath"/></not>
|
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="**/*.as"/>
|
||||||
<srcfiles dir="src/as" includes="**/Environment.as-tm"/>
|
<srcfiles dir="src/as" includes="**/Environment.as-tm"/>
|
||||||
<srcfiles dir="etc" includes="asc-files.txt"/>
|
<srcfiles dir="etc" includes="asc-files.txt"/>
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
<arg value="src/as/com/threerings/util/env/Environment.as"/>
|
<arg value="src/as/com/threerings/util/env/Environment.as"/>
|
||||||
</java>
|
</java>
|
||||||
<move file="src/as/com/threerings/util/env/Environment.abc"
|
<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"/>
|
<delete file="src/as/com/threerings/util/env/Environment.as"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
@@ -302,6 +302,7 @@
|
|||||||
<fileset dir="${classes.dir}" includes="com/threerings/presents/**"/>
|
<fileset dir="${classes.dir}" includes="com/threerings/presents/**"/>
|
||||||
<fileset dir="${classes.dir}" includes="com/threerings/crowd/**"/>
|
<fileset dir="${classes.dir}" includes="com/threerings/crowd/**"/>
|
||||||
<fileset dir="${classes.dir}" includes="com/threerings/admin/**"/>
|
<fileset dir="${classes.dir}" includes="com/threerings/admin/**"/>
|
||||||
|
<fileset dir="${classes.dir}" includes="com/threerings/bureau/**"/>
|
||||||
</jar>
|
</jar>
|
||||||
<jar destfile="${deploy.dir}/${lib.name}-tests.jar">
|
<jar destfile="${deploy.dir}/${lib.name}-tests.jar">
|
||||||
<fileset dir="tests/${classes.dir}" includes="com/threerings/**"/>
|
<fileset dir="tests/${classes.dir}" includes="com/threerings/**"/>
|
||||||
|
|||||||
+7
-6
@@ -105,6 +105,7 @@
|
|||||||
<uptodate targetfile="${deploy.dir}/testslib.abc">
|
<uptodate targetfile="${deploy.dir}/testslib.abc">
|
||||||
<srcfiles dir="../lib" includes="builtin.abc"/>
|
<srcfiles dir="../lib" includes="builtin.abc"/>
|
||||||
<srcfiles dir="../lib" includes="thane.abc"/>
|
<srcfiles dir="../lib" includes="thane.abc"/>
|
||||||
|
<srcfiles dir="../dist" includes="narya-abc.abc"/>
|
||||||
<srcfiles dir="etc" includes="etc/asc-files.txt"/>
|
<srcfiles dir="etc" includes="etc/asc-files.txt"/>
|
||||||
<srcfiles dir="src/as" includes="**/*.as"/>
|
<srcfiles dir="src/as" includes="**/*.as"/>
|
||||||
</uptodate>
|
</uptodate>
|
||||||
@@ -129,7 +130,7 @@
|
|||||||
<arg value="-import"/>
|
<arg value="-import"/>
|
||||||
<arg value="../lib/thane.abc"/>
|
<arg value="../lib/thane.abc"/>
|
||||||
<arg value="-import"/>
|
<arg value="-import"/>
|
||||||
<arg value="../dist/naryalib.abc"/>
|
<arg value="../dist/narya-abc.abc"/>
|
||||||
<arg line="${ascfiles}"/>
|
<arg line="${ascfiles}"/>
|
||||||
<arg value="src/as/Lib.as"/>
|
<arg value="src/as/Lib.as"/>
|
||||||
</java>
|
</java>
|
||||||
@@ -240,7 +241,7 @@
|
|||||||
<arg value="-import"/>
|
<arg value="-import"/>
|
||||||
<arg value="../lib/thane.abc"/>
|
<arg value="../lib/thane.abc"/>
|
||||||
<arg value="-import"/>
|
<arg value="-import"/>
|
||||||
<arg value="../dist/naryalib.abc"/>
|
<arg value="../dist/narya-abc.abc"/>
|
||||||
<arg value="-import"/>
|
<arg value="-import"/>
|
||||||
<arg value="dist/testslib.abc"/>
|
<arg value="dist/testslib.abc"/>
|
||||||
<arg value="src/as/com/threerings/bureau/client/TestClientMain.as"/>
|
<arg value="src/as/com/threerings/bureau/client/TestClientMain.as"/>
|
||||||
@@ -264,8 +265,8 @@
|
|||||||
<sysproperty key="numBureaus" value="2"/>
|
<sysproperty key="numBureaus" value="2"/>
|
||||||
<sysproperty key="maxOps" value="5"/>
|
<sysproperty key="maxOps" value="5"/>
|
||||||
<sysproperty key="createChance" value="70"/>
|
<sysproperty key="createChance" value="70"/>
|
||||||
<sysproperty key="minDelay" value="3000"/>
|
<sysproperty key="minDelay" value="1000"/>
|
||||||
<sysproperty key="maxDelay" value="5000"/>
|
<sysproperty key="maxDelay" value="3000"/>
|
||||||
<sysproperty key="seed" value="0"/>
|
<sysproperty key="seed" value="0"/>
|
||||||
<sysproperty key="clientTarget" value="bureau-run-thane-client"/>
|
<sysproperty key="clientTarget" value="bureau-run-thane-client"/>
|
||||||
</java>
|
</java>
|
||||||
@@ -287,9 +288,9 @@
|
|||||||
<!-- runs the thane test client -->
|
<!-- runs the thane test client -->
|
||||||
<target name="bureau-run-thane-client" depends="bureau-compile-thane-client"
|
<target name="bureau-run-thane-client" depends="bureau-compile-thane-client"
|
||||||
description="Runs the thane client for testing the bureau library">
|
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="-Dverbose"/-->
|
||||||
<arg value="../dist/naryalib.abc"/>
|
<arg value="../dist/narya-abc.abc"/>
|
||||||
<arg value="dist/testslib.abc"/>
|
<arg value="dist/testslib.abc"/>
|
||||||
<arg value="dist/TestClientMain.abc"/>
|
<arg value="dist/TestClientMain.abc"/>
|
||||||
<arg value="--"/>
|
<arg value="--"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user