Vilya will be harnessing the awesome power of Depot now, so let's bring in the genrecord task.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@339 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -25,6 +25,22 @@
|
||||
<fileset dir="${deploy.dir}/lib" includes="**/*.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- generates fields for persistent record classes -->
|
||||
<target name="genrecord" depends="prepare">
|
||||
<taskdef name="grecord" classname="com.samskivert.jdbc.depot.tools.GenRecordTask"
|
||||
classpathref="classpath"/>
|
||||
<!-- make sure the record class files are all compiled -->
|
||||
<javac srcdir="src/java" destdir="${classes.dir}"
|
||||
debug="on" optimize="${build.optimize}" deprecation="on">
|
||||
<classpath refid="classpath"/>
|
||||
<include name="**/*Record.java"/>
|
||||
</javac>
|
||||
<!-- now update the source files -->
|
||||
<grecord classpathref="classpath">
|
||||
<fileset dir="src/java" includes="**/*Record.java"/>
|
||||
</grecord>
|
||||
</target>
|
||||
|
||||
<!-- generates additional methods for distributed object classes -->
|
||||
<target name="gendobj" depends="prepare">
|
||||
<taskdef name="dobj" classpathref="classpath"
|
||||
|
||||
Reference in New Issue
Block a user