procstream is run in the normal course of a build, but none of the other gen
tasks are, so let's split out the generation of C++ streamable classes into a genstream class rather than letting it run on the build server which causes breakage like just now when Ray changed something that caused differently generated C++ streamable classes to be generated on build1. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6280 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -283,15 +283,7 @@
|
|||||||
</genreceiver>
|
</genreceiver>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="procstream" depends="-preptools"
|
<target name="genstream" depends="-preptools" description="Generates C++ streamable classes.">
|
||||||
description="Adds readField and writeField methods to Streamable classes">
|
|
||||||
<instream outdir="${classes.dir}">
|
|
||||||
<path refid="built.classpath"/>
|
|
||||||
<fileset dir="${classes.dir}" includes="**/data/*.class"/>
|
|
||||||
<fileset dir="${classes.dir}" includes="**/net/*.class"/>
|
|
||||||
<fileset dir="${classes.dir}" includes="**/dobj/*.class"/>
|
|
||||||
<fileset dir="${classes.dir}" includes="**/util/*.class"/>
|
|
||||||
</instream>
|
|
||||||
<gencppstreamable classpathref="built.classpath" cpproot="src/cpp">
|
<gencppstreamable classpathref="built.classpath" cpproot="src/cpp">
|
||||||
<generate class="com.threerings.presents.client.InvocationReceiver$Registration"/>
|
<generate class="com.threerings.presents.client.InvocationReceiver$Registration"/>
|
||||||
<generate class="com.threerings.presents.data.ClientObject"/>
|
<generate class="com.threerings.presents.data.ClientObject"/>
|
||||||
@@ -321,6 +313,17 @@
|
|||||||
</gencppstreamable>
|
</gencppstreamable>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<target name="procstream" depends="-preptools"
|
||||||
|
description="Adds readField and writeField methods to Streamable classes">
|
||||||
|
<instream outdir="${classes.dir}">
|
||||||
|
<path refid="built.classpath"/>
|
||||||
|
<fileset dir="${classes.dir}" includes="**/data/*.class"/>
|
||||||
|
<fileset dir="${classes.dir}" includes="**/net/*.class"/>
|
||||||
|
<fileset dir="${classes.dir}" includes="**/dobj/*.class"/>
|
||||||
|
<fileset dir="${classes.dir}" includes="**/util/*.class"/>
|
||||||
|
</instream>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="genascript" depends="-preptools"
|
<target name="genascript" depends="-preptools"
|
||||||
description="Generates ActionScript versions of our Streamable classes">
|
description="Generates ActionScript versions of our Streamable classes">
|
||||||
<genascript header="lib/SOURCE_HEADER" asroot="src/as">
|
<genascript header="lib/SOURCE_HEADER" asroot="src/as">
|
||||||
|
|||||||
Reference in New Issue
Block a user