Update of /cvsroot/jrman/drafts
In directory sc8-pr-cvs1:/tmp/cvs-serv4252
Modified Files:
build.xml
Log Message:
Changed DinnerRoom
Index: build.xml
===================================================================
RCS file: /cvsroot/jrman/drafts/build.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** build.xml 8 Apr 2003 19:54:22 -0000 1.1
--- build.xml 30 May 2003 00:22:53 -0000 1.2
***************
*** 3,9 ****
<property name="src" location="src"/>
<property name="build" location="build"/>
- <property name="tests" location="tests"/>
- <property name="build.tests" location="build.tests"/>
<property name="dist" location="dist"/>
<property name="doc" location="doc"/>
--- 3,9 ----
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
+ <property name="jrman" location="jrMan"/>
+ <property name="models" location="sampleData"/>
<property name="doc" location="doc"/>
***************
*** 13,17 ****
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
- <mkdir dir="${build.tests}"/>
<mkdir dir="${doc}"/>
</target>
--- 13,16 ----
***************
*** 23,40 ****
</target>
- <target name="test" depends="compile"
- description="compile the tests " >
- <!-- Compile the java code from ${tests} into ${build.tests} -->
- <javac srcdir="${tests}" destdir="${build.tests}" classpath="${build}" source="1.4"/>
- <junit printsummary="yes" haltonfailure="yes">
- <formatter type="plain" />
- <classpath>
- <pathelement location="${build}" />
- <pathelement location="${build.tests}" />
- </classpath>
- <!-- <test name="myers.SESTests" /> -->
- </junit>
- </target>
-
<target name="javadoc" depends="compile"
description="generate documentation">
--- 22,25 ----
***************
*** 44,52 ****
</target>
! <target name="dist" depends="test"
description="generate the distribution" >
<!-- Create the distribution directory -->
<mkdir dir="${dist}"/>
</target>
<target name="clean"
--- 29,76 ----
</target>
! <target name="dist" depends="compile"
description="generate the distribution" >
<!-- Create the distribution directory -->
+
<mkdir dir="${dist}"/>
+
+ <mkdir dir="${dist}/jar"/>
+ <mkdir dir="${dist}/bin"/>
+ <mkdir dir="${dist}/model"/>
+ <mkdir dir="${dist}/src"/>
+
+ <jar jarfile="${dist}/jar/jrman.jar"
+ basedir="${build}"
+ includes="org/**"/>
+
+ <copy todir="${dist}" >
+ <fileset dir="${jrman}">
+ <include name="license.txt"/>
+ <include name="README.TXT"/>
+ <include name="bin/jrman.bat"/>
+ <include name="bin/jrman.sh"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${dist}/models" >
+ <fileset dir="${models}">
+ <include name="ManySpheres.rib"/>
+ <include name="AllSpheres.rib"/>
+ <include name="Toruses.rib"/>
+ <include name="uteapot.rib"/>
+ <include name="bike.rib"/>
+
+ <include name="elephant.rib"/>
+ <include name=""/>
+ <include name=""/>
+ <include name=""/>
+ <include name=""/>
+ <include name=""/>
+ <include name=""/>
+ </fileset>
+ </copy>
+
</target>
+
<target name="clean"
|