Moved CastUtil into tests, since it's test code. Added missing depend to

miso-viewer build target.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1062 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2010-11-08 22:16:01 +00:00
parent 07919e8a57
commit 310ff1e3ba
3 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -380,7 +380,7 @@
</target> </target>
<property name="scene" value="idyll"/> <property name="scene" value="idyll"/>
<target name="miso-viewer" depends="compile,test-tsbundles,test-cbundles" <target name="miso-viewer" depends="compile,test-colorpos,test-tsbundles,test-cbundles"
description="Runs the Miso scene viewer."> description="Runs the Miso scene viewer.">
<java classname="com.threerings.miso.viewer.ViewerApp" <java classname="com.threerings.miso.viewer.ViewerApp"
fork="true" classpathref="test.classpath"> fork="true" classpathref="test.classpath">
@@ -19,7 +19,7 @@
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
package com.threerings.cast.util; package com.threerings.cast;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator; import java.util.Iterator;
@@ -32,14 +32,10 @@ import com.samskivert.util.RandomUtil;
import com.threerings.media.image.ColorPository; import com.threerings.media.image.ColorPository;
import com.threerings.media.image.Colorization; import com.threerings.media.image.Colorization;
import com.threerings.cast.CharacterDescriptor;
import com.threerings.cast.ComponentClass;
import com.threerings.cast.ComponentRepository;
import static com.threerings.cast.Log.log; import static com.threerings.cast.Log.log;
/** /**
* Miscellaneous cast utility routines. * Some Cast utilities that make use of our test resources.
*/ */
public class CastUtil public class CastUtil
{ {
@@ -41,11 +41,11 @@ import com.threerings.miso.client.MisoScenePanel;
import com.threerings.miso.data.MisoSceneModel; import com.threerings.miso.data.MisoSceneModel;
import com.threerings.miso.util.MisoContext; import com.threerings.miso.util.MisoContext;
import com.threerings.cast.CastUtil;
import com.threerings.cast.CharacterDescriptor; import com.threerings.cast.CharacterDescriptor;
import com.threerings.cast.CharacterManager; import com.threerings.cast.CharacterManager;
import com.threerings.cast.CharacterSprite; import com.threerings.cast.CharacterSprite;
import com.threerings.cast.ComponentRepository; import com.threerings.cast.ComponentRepository;
import com.threerings.cast.util.CastUtil;
import static com.threerings.miso.Log.log; import static com.threerings.miso.Log.log;