Final write-up edits (turned in) and some build/source cleanup to ensure that turned in code can be run from command line.
This commit is contained in:
@@ -43,12 +43,11 @@
|
||||
</target>
|
||||
|
||||
<target name="copy-resources" depends="init" >
|
||||
<copy todir="${build}/data">
|
||||
<copy todir="${dist}/data">
|
||||
<fileset dir="${data}">
|
||||
<include name="**/*" />
|
||||
<include name="*.xml" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<!--copy file="DetailedInfo.txt" todir="${dist}" /-->
|
||||
</target>
|
||||
|
||||
<target name="dist" depends="copy-resources, compile"
|
||||
@@ -56,7 +55,8 @@
|
||||
<jar jarfile="${dist}/${project.name}.jar">
|
||||
<fileset dir="${build}" excludes="**/*Test.class" />
|
||||
<manifest>
|
||||
<attribute name="Main-Class" value="net.woodyfolsom.cs6601.p2.RecipeBookStub" />
|
||||
<attribute name="Main-Class" value="net.woodyfolsom.cs6601.p2.BayesChef" />
|
||||
<attribute name="Class-Path" value=". ../lib/commons-codec-1.5.jar ../lib/guava-r09.jar ../lib/xstream-1.4.2.jar" />
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
Reference in New Issue
Block a user