Fixed manifest and build file so that mario can be built and run on the command-line.
This commit is contained in:
13
build.xml
13
build.xml
@@ -7,8 +7,10 @@
|
|||||||
<property name="build" location="classes" />
|
<property name="build" location="classes" />
|
||||||
<property name="dist" location="dist" />
|
<property name="dist" location="dist" />
|
||||||
<property name="docs" location="docs" />
|
<property name="docs" location="docs" />
|
||||||
|
<property name="grammars" location="grammars" />
|
||||||
<property name="lib" location="lib" />
|
<property name="lib" location="lib" />
|
||||||
<property name="res" location="res" />
|
<property name="res" location="res" />
|
||||||
|
<property name="rules" location="rules" />
|
||||||
<property name="project.name" value="CS8803_P3" />
|
<property name="project.name" value="CS8803_P3" />
|
||||||
<property name="src" location="src" />
|
<property name="src" location="src" />
|
||||||
<property name="test" location="test" />
|
<property name="test" location="test" />
|
||||||
@@ -48,6 +50,16 @@
|
|||||||
<include name="**/*" />
|
<include name="**/*" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${dist}/grammars">
|
||||||
|
<fileset dir="${grammars}">
|
||||||
|
<include name="**/*" />
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
<copy todir="${dist}/rules">
|
||||||
|
<fileset dir="${rules}">
|
||||||
|
<include name="**/*" />
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
<copy file="DetailedInfo.txt" todir="${dist}" failonerror="false" overwrite="true"/>
|
<copy file="DetailedInfo.txt" todir="${dist}" failonerror="false" overwrite="true"/>
|
||||||
<copy file="player.txt" todir="${dist}" failonerror="false" overwrite="true" />
|
<copy file="player.txt" todir="${dist}" failonerror="false" overwrite="true" />
|
||||||
</target>
|
</target>
|
||||||
@@ -58,6 +70,7 @@
|
|||||||
<fileset dir="${build}" excludes="**/*Test.class" />
|
<fileset dir="${build}" excludes="**/*Test.class" />
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="dk.itu.mario.engine.Play" />
|
<attribute name="Main-Class" value="dk.itu.mario.engine.Play" />
|
||||||
|
<attribute name="Class-Path" value="../lib/antlr-3.4-complete-no-antlrv2.jar ../lib/drools-api-5.2.0.M1.jar.jar ../lib/drools-compiler-5.3.0.Final.jar ../lib/drools-core-5.3.0.Final.jar ../lib/drools-decisiontables-5.3.0.Final.jar ../lib/drools-jsr94-5.3.0.Final.jar ../lib/ecj.jar ../lib/jdom.jar ../lib/knowledge-api-5.3.0.Final.jar ../lib/mvel2-2.1.Beta8.jar ../lib/slf4j-api-1.6.4.jar ../lib/xstream-1.4.2.jar ../lib/xuggle-xuggler.jar" />
|
||||||
</manifest>
|
</manifest>
|
||||||
</jar>
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|||||||
Reference in New Issue
Block a user