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:
+19
-10
@@ -14,7 +14,7 @@
|
|||||||
<property name="src.dir" value="src/java"/>
|
<property name="src.dir" value="src/java"/>
|
||||||
<property name="deploy.dir" value="dist"/>
|
<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"/>
|
<property name="tbundle.dir" value="rsrc/bundles/tiles"/>
|
||||||
|
|
||||||
<!-- declare our classpath -->
|
<!-- declare our classpath -->
|
||||||
@@ -75,19 +75,28 @@
|
|||||||
|
|
||||||
<!-- test the component metadata bundling process -->
|
<!-- test the component metadata bundling process -->
|
||||||
<target name="cbundles" description="Build component bundles.">
|
<target name="cbundles" description="Build component bundles.">
|
||||||
<!-- first build the metadata bundle -->
|
<!-- define our tasks -->
|
||||||
<taskdef name="metabundle"
|
<taskdef name="metabundle"
|
||||||
classname="com.threerings.cast.bundle.tools.MetadataBundlerTask"/>
|
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"
|
<taskdef name="cbundle"
|
||||||
classname="com.threerings.cast.bundle.tools.ComponentBundlerTask"/>
|
classname="com.threerings.cast.bundle.tools.ComponentBundlerTask"/>
|
||||||
<cbundle target="${cbundle.dir}/components.jar"
|
|
||||||
mapfile="${cbundle.dir}/components.map">
|
<!-- build the pirate metadata and component bundles -->
|
||||||
<fileset dir="${cbundle.dir}" includes="**/*.png"/>
|
<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>
|
</cbundle>
|
||||||
</target>
|
</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
|
# Test resource manager configuration
|
||||||
|
|
||||||
@@ -7,6 +7,10 @@
|
|||||||
resource.set.tilesets = bundles/tiles/ground/bundle.jar:\
|
resource.set.tilesets = bundles/tiles/ground/bundle.jar:\
|
||||||
bundles/tiles/objects/bundle.jar
|
bundles/tiles/objects/bundle.jar
|
||||||
|
|
||||||
# configure the BundledComponentRepository
|
# configure the character BundledComponentRepository
|
||||||
resource.set.components = bundles/components/pirate/metadata.jar:\
|
resource.set.components = bundles/components/pirate/metadata.jar:\
|
||||||
bundles/components/pirate/components.jar
|
bundles/components/pirate/components.jar
|
||||||
|
|
||||||
|
# configure the ship BundledComponentRepository
|
||||||
|
resource.set.ships = bundles/components/ship/metadata.jar:\
|
||||||
|
bundles/components/ship/components.jar
|
||||||
|
|||||||
Reference in New Issue
Block a user