Build the tests along with everything else. No longer will they languish

in obscurity. Fixed a couple of out of date bits in the process.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3615 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-06-22 20:35:09 +00:00
parent 8ef2a508c9
commit 8bfdb79642
3 changed files with 16 additions and 5 deletions
+9 -2
View File
@@ -105,6 +105,7 @@
<!-- cleans out the installed application -->
<target name="clean">
<delete dir="${deploy.dir}"/>
<ant dir="tests" target="clean"/>
</target>
<!-- build the java class files -->
@@ -162,11 +163,17 @@
</copy>
</target>
<!-- builds the various tests -->
<target name="tests">
<ant dir="tests" target="compile"/>
</target>
<!-- a target for rebuilding everything -->
<target name="all" depends="clean,prepare,compile,ncompile,javadoc,dist"/>
<target name="all"
depends="clean,prepare,compile,ncompile,javadoc,tests,dist"/>
<!-- builds our distribution files (war and jar) -->
<target name="dist" depends="prepare,compile,ncompile">
<target name="dist" depends="prepare,compile,ncompile,tests">
<!-- build our various jar files -->
<jar destfile="${deploy.dir}/${app.name}-base.jar">
<fileset dir="${classes.dir}" includes="com/threerings/io/**"/>
@@ -45,9 +45,11 @@ import com.threerings.jme.JmeApp;
public class JabberApp extends JmeApp
{
// documentation inherited
public void init ()
public boolean init ()
{
super.init();
if (!super.init()) {
return false;
}
// initialize our client instance
_client = new JabberClient();
@@ -81,6 +83,8 @@ public class JabberApp extends JmeApp
// speed up key input
_input.setKeySpeed(100f);
return true;
}
public void run (String server, int port, String username, String password)
@@ -21,7 +21,7 @@
package com.threerings.parlor;
import com.threerings.parlor.client.GameConfigurator;
import com.threerings.parlor.game.client.GameConfigurator;
import com.threerings.parlor.game.data.GameConfig;
public class TestConfig extends GameConfig