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.4 by tdb, Fri May 18 00:40:34 2001 UTC

# Line 6 | Line 6
6        build/jar util package
7        install target
8        cvs version build (including cleanup)
9      javadoc
9        sql table generation
10 <      run target
12 <      distclean target
10 >      drop shortcut targets
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 +  <target name="javadoc">
62 +    <antcall target="javadocapi"/>
63 +  </target>
64 +  
65    <!--
66      =====================================================
67 +      Fetch required libraries (not in dependency tree)
68 +    =====================================================
69 +  -->
70 +  
71 +  <!-- this uses static names, which is messy -->
72 +  <!-- fullcleanup target has same problem -->
73 +  <target name="getlibs" depends="config">
74 +    <get
75 +      src="${LIBURL}/crimson.jar"
76 +      dest="${LIBDIR}/crimson.jar"
77 +      verbose="true" usetimestamp="true"
78 +    />
79 +    <get
80 +      src="${LIBURL}/idl.jar"
81 +      dest="${LIBDIR}/idl.jar"
82 +      verbose="true" usetimestamp="true"
83 +    />
84 +    <get
85 +      src="${LIBURL}/jacorb.jar"
86 +      dest="${LIBDIR}/jacorb.jar"
87 +      verbose="true" usetimestamp="true"
88 +    />
89 +    <get
90 +      src="${LIBURL}/jaxp.jar"
91 +      dest="${LIBDIR}/jaxp.jar"
92 +      verbose="true" usetimestamp="true"
93 +    />
94 +    <get
95 +      src="${LIBURL}/mm.mysql-2.0.4-bin.jar"
96 +      dest="${LIBDIR}/mm.mysql-2.0.4-bin.jar"
97 +      verbose="true" usetimestamp="true"
98 +    />
99 +    <!-- also get jacorb.properties? -->
100 +  </target>
101 +  
102 +  <!--
103 +    =====================================================
104        IDL Generation
105      =====================================================
106    -->
# Line 149 | Line 200 | Class-Path: ${MFCLPATH}
200      <delete file="${BUILDDIR}/${TARFILE}"/>
201      <delete file="${BUILDDIR}/${TARGZFILE}"/>
202      <delete file="${BUILDDIR}/${ZIPFILE}"/>
203 +    <delete dir="${JDOCDIR}"/>
204 +  </target>
205 +  
206 +  <target name="fullcleanup" depends="cleanup">
207 +    <!-- this is messy, we should only delete specific jars -->
208 +    <delete>
209 +      <fileset dir="${LIBDIR}" includes="*.jar"/>
210 +    </delete>
211 +  </target>
212 +  
213 +  <!--
214 +    =====================================================
215 +      Running (not in dependency tree)
216 +    =====================================================
217 +  -->
218 +  
219 +  <!-- is this really the best way to do this? no... -->
220 +  <target name="runserver" depends="config">
221 +    <java classname="${MFMAINCLASS}" dir="${BUILDDIR}" fork="yes">
222 +      <arg line="-f ${RUNFILTERNAME}"/>
223 +      <classpath path="${BUILDDIR}/${SERVERJAR}"/>
224 +    </java>
225 +  </target>
226 +  
227 +  <!--
228 +    =====================================================
229 +      Javadoc (not in dependency tree)
230 +    =====================================================
231 +  -->
232 +  
233 +  <target name="javadocapi" depends="config, genidl">
234 +    <mkdir dir="${JDOCDIR}"/>
235 +    <!-- link in here requires a live net link! -->
236 +    <javadoc
237 +      packagenames="${JDOCPKGS}"
238 +      destdir="${JDOCDIR}"
239 +      classpath="${JCCLASSPATH}"
240 +      author="true"
241 +      version="true"
242 +      private="true"
243 +      use="true"
244 +      windowtitle="${JDOCTITLE}"
245 +      header="${JDOCHEADER}"
246 +      bottom="${JDOCBOTTOM}"
247 +      link="${JDOCJAPI}"
248 +    >
249 +      <!-- need to do idl generated source too -->
250 +      <sourcepath>
251 +        <pathelement path="${SOURCEROOT}"/>
252 +        <pathelement path="${IDLDIR}"/>
253 +      </sourcepath>
254 +    </javadoc>
255    </target>
256    
257   </project>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines