Added another set of component bundles for ships.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1049 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-19 20:00:32 +00:00
parent 0db9ce6d2d
commit 947107b0ba
2 changed files with 25 additions and 12 deletions
+19 -10
View File
@@ -14,7 +14,7 @@
<property name="src.dir" value="src/java"/>
<property name="deploy.dir" value="dist"/>
<property name="cbundle.dir" value="rsrc/bundles/components/pirate"/>
<property name="cbundle.dir" value="rsrc/bundles/components"/>
<property name="tbundle.dir" value="rsrc/bundles/tiles"/>
<!-- declare our classpath -->
@@ -75,19 +75,28 @@
<!-- test the component metadata bundling process -->
<target name="cbundles" description="Build component bundles.">
<!-- first build the metadata bundle -->
<!-- define our tasks -->
<taskdef name="metabundle"
classname="com.threerings.cast.bundle.tools.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.bundle.tools.ComponentBundlerTask"/>
<cbundle target="${cbundle.dir}/components.jar"
mapfile="${cbundle.dir}/components.map">
<fileset dir="${cbundle.dir}" includes="**/*.png"/>
<!-- build the pirate metadata and component bundles -->
<metabundle actiondef="${cbundle.dir}/pirate/actions.xml"
classdef="${cbundle.dir}/pirate/classes.xml"
target="${cbundle.dir}/pirate/metadata.jar"/>
<cbundle target="${cbundle.dir}/pirate/components.jar"
mapfile="${cbundle.dir}/pirate/components.map">
<fileset dir="${cbundle.dir}/pirate" includes="**/*.png"/>
</cbundle>
<!-- build the ship metadata and component bundles -->
<metabundle actiondef="${cbundle.dir}/ship/actions.xml"
classdef="${cbundle.dir}/ship/classes.xml"
target="${cbundle.dir}/ship/metadata.jar"/>
<cbundle target="${cbundle.dir}/ship/components.jar"
mapfile="${cbundle.dir}/ship/components.map">
<fileset dir="${cbundle.dir}/ship" includes="**/*.png"/>
</cbundle>
</target>
@@ -1,5 +1,5 @@
#
# $Id: manager.properties,v 1.7 2002/02/09 07:50:03 mdb Exp $
# $Id: manager.properties,v 1.8 2002/02/19 20:00:32 mdb Exp $
#
# Test resource manager configuration
@@ -7,6 +7,10 @@
resource.set.tilesets = bundles/tiles/ground/bundle.jar:\
bundles/tiles/objects/bundle.jar
# configure the BundledComponentRepository
# configure the character BundledComponentRepository
resource.set.components = bundles/components/pirate/metadata.jar:\
bundles/components/pirate/components.jar
# configure the ship BundledComponentRepository
resource.set.ships = bundles/components/ship/metadata.jar:\
bundles/components/ship/components.jar