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:
@@ -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"/>
|
||||
|
Reference in New Issue
Block a user