*** empty log message ***

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@639 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2001-11-27 08:06:57 +00:00
parent d733a429a9
commit be313f8922
13 changed files with 132 additions and 11 deletions
+23 -1
View File
@@ -11,6 +11,9 @@
<property name="src.dir" value="src/java"/>
<property name="deploy.dir" value="dist"/>
<property name="cbundle.dir" value="rsrc/bundles/components/pirate"/>
<property name="tbundle.dir" value="rsrc/bundles/tiles"/>
<!-- declare our classpath -->
<path id="classpath">
<pathelement location="../${deploy.dir}/classes"/>
@@ -39,7 +42,8 @@
<!-- build the java class files -->
<target name="compile" depends="prepare">
<javac srcdir="${src.dir}" destdir="${deploy.dir}/classes"
debug="on" optimize="off" deprecation="off">
debug="on" optimize="off" deprecation="off"
excludes="com/threerings/cast/builder/**">
<classpath refid="classpath"/>
</javac>
</target>
@@ -59,4 +63,22 @@
</junit>
</target>
<!-- test the component metadata bundling process -->
<target name="cbundles" description="Build component bundles.">
<!-- first build the metadata bundle -->
<taskdef name="metabundle"
classname="com.threerings.cast.tools.bundle.MetadataBundlerTask"/>
<metabundle actiondef="${cbundle.dir}/actions.xml"
classdef="${cbundle.dir}/classes.xml"
target="${cbundle.dir}/metadata.jar"/>
<!-- then a component bundle -->
<taskdef name="cbundle"
classname="com.threerings.cast.tools.bundle.ComponentBundlerTask"/>
<cbundle target="${cbundle.dir}/components.jar"
mapfile="${cbundle.dir}/components.map">
<fileset dir="${cbundle.dir}" includes="**/*.png"/>
</cbundle>
</target>
</project>