Fixed errors due to Game rewrite

* Added a `resources` target to the build to seperate copying needed resources
  to the build folder from actually building the jar.
* Fixed a bug in PlayerListCellRenderer (property access on the wrong object).
* Fixed several bugs in ProfessionalPickup related to team references. The old
  system used integers, 1 or 2, to represent teams. New system uses Game.Team
  enums.
* Fixed a bug in the config loading code. Was trying to wrap an InputStream in a
  `withInputStream` method. Method is actually called `withStrem`
This commit is contained in:
Jonathan Bernard
2012-10-11 22:34:59 -05:00
parent b3e09493f4
commit 4c915b33f5
4 changed files with 18 additions and 15 deletions

View File

@@ -45,11 +45,14 @@
</propertyfile>
</target>
<target name="build" depends="compile,increment-build-number">
<target name="resources" depends="init">
<copy todir="${build.dir}/classes">
<fileset dir="${resources.dir}"/>
</copy>
</target>
<target name="build" depends="compile,resources,increment-build-number">
<unjar dest="${build.dir}/classes">
<fileset dir="${env.GROOVY_HOME}/embeddable">
<include name="*.jar"/>