ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/build.xml
(Generate patch)

Comparing projects/cms/source/server/build.xml (file contents):
Revision 1.1 by tdb, Mon May 7 16:22:54 2001 UTC vs.
Revision 1.2 by tdb, Mon May 14 02:43:23 2001 UTC

# Line 8 | Line 8
8        cvs version build (including cleanup)
9        javadoc
10        sql table generation
11      run target
12      distclean target
11    -->
12    
13    <!--
# Line 32 | Line 30
30      =====================================================
31    -->
32    
33 +  <target name="fetch">
34 +    <antcall target="getlibs"/>
35 +  </target>
36 +  
37    <target name="idl">
38      <antcall target="genidl"/>
39    </target>
# Line 44 | Line 46
46      <antcall target="makedist"/>
47    </target>
48    
49 +  <target name="run">
50 +    <antcall target="runserver"/>
51 +  </target>
52 +  
53    <target name="clean">
54      <antcall target="cleanup"/>
55    </target>
56    
57 +  <target name="distclean">
58 +    <antcall target="fullcleanup"/>
59 +  </target>
60 +  
61    <!--
62      =====================================================
63 +      Fetch required libraries (not in dependency tree)
64 +    =====================================================
65 +  -->
66 +  
67 +  <!-- this uses static names, which is messy -->
68 +  <!-- fullcleanup target has same problem -->
69 +  <target name="getlibs" depends="config">
70 +    <get
71 +      src="http://killigrew.ukc.ac.uk/crimson.jar"
72 +      dest="${LIBDIR}/crimson.jar"
73 +      verbose="true" usetimestamp="true"
74 +    />
75 +    <get
76 +      src="http://killigrew.ukc.ac.uk/idl.jar"
77 +      dest="${LIBDIR}/idl.jar"
78 +      verbose="true" usetimestamp="true"
79 +    />
80 +    <get
81 +      src="http://killigrew.ukc.ac.uk/jacorb.jar"
82 +      dest="${LIBDIR}/jacorb.jar"
83 +      verbose="true" usetimestamp="true"
84 +    />
85 +    <get
86 +      src="http://killigrew.ukc.ac.uk/jaxp.jar"
87 +      dest="${LIBDIR}/jaxp.jar"
88 +      verbose="true" usetimestamp="true"
89 +    />
90 +    <get
91 +      src="http://killigrew.ukc.ac.uk/mm.mysql-2.0.4-bin.jar"
92 +      dest="${LIBDIR}/mm.mysql-2.0.4-bin.jar"
93 +      verbose="true" usetimestamp="true"
94 +    />
95 +    <!-- also get jacorb.properties? -->
96 +  </target>
97 +  
98 +  <!--
99 +    =====================================================
100        IDL Generation
101      =====================================================
102    -->
# Line 149 | Line 196 | Class-Path: ${MFCLPATH}
196      <delete file="${BUILDDIR}/${TARFILE}"/>
197      <delete file="${BUILDDIR}/${TARGZFILE}"/>
198      <delete file="${BUILDDIR}/${ZIPFILE}"/>
199 +  </target>
200 +  
201 +  <target name="fullcleanup" depends="cleanup">
202 +    <!-- this is messy, we should only delete specific jars -->
203 +    <delete>
204 +      <fileset dir="${LIBDIR}" includes="*.jar"/>
205 +    </delete>
206 +  </target>
207 +  
208 +  <!--
209 +    =====================================================
210 +      Running (not in dependency tree)
211 +    =====================================================
212 +  -->
213 +  
214 +  <!-- is this really the best way to do this? -->
215 +  <target name="runserver" depends="config">
216 +    <java classname="${MFMAINCLASS}" dir="${BUILDDIR}" fork="yes">
217 +      <arg line="-f ${RUNFILTERNAME}"/>
218 +      <classpath path="${BUILDDIR}/${SERVERJAR}"/>
219 +    </java>
220    </target>
221    
222   </project>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines