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.6 by tdb, Fri May 18 01:02:07 2001 UTC vs.
Revision 1.7 by tdb, Fri May 18 01:32:15 2001 UTC

# Line 2 | Line 2
2   <project name="iscream-server" default="usage">
3    
4    <!--
5 <    TODO:
6 <      install target
7 <      cvs version build (including cleanup)
5 >    TODO: cvs version build (including cleanup)
6    -->
7    
8    <!--
# Line 40 | Line 38
38       javadoc      - generate javadoc API
39       clean        - clean all generated files
40       distclean    - remove 'fetched' libraries + clean
41 +     install      - install server (use -Dprefix=/path/ switch)
42       run          - run the server
43      </echo>
44    </target>
# Line 266 | Line 265 | Class-Path: ${MFCLPATH}
265        basedir="${BUILDDIR}"
266        includes="uk/**/*.class"
267      />
268 +  </target>
269 +  
270 +  <!--
271 +    =====================================================
272 +      Install
273 +    =====================================================
274 +  -->
275 +  
276 +  <target name="install" depends="config, makejar">
277 +    <mkdir dir="${INSTALLDEST}"/>
278 +    <mkdir dir="${INSTALLDEST}/etc"/>
279 +    <mkdir dir="${INSTALLDEST}/lib"/>
280 +    <copy file="${BUILDDIR}/${SERVERJAR}" todir="${INSTALLDEST}"/>
281 +    <copy file="${BUILDDIR}/run.sh" todir="${INSTALLDEST}"/>
282 +    <copy file="${BUILDDIR}/run.bat" todir="${INSTALLDEST}"/>
283 +    <copy todir="${INSTALLDEST}/lib" >
284 +      <fileset dir="${LIBDIR}">
285 +        <include name="**/*.jar"/>
286 +        <exclude name="**/CVS/*"/>
287 +      </fileset>
288 +    </copy>
289 +    <copy todir="${INSTALLDEST}/etc" >
290 +      <fileset dir="${BUILDDIR}/etc">
291 +        <include name="**/*"/>
292 +        <exclude name="**/CVS/*"/>
293 +      </fileset>
294 +    </copy>
295 +    <copy file="${BUILDDIR}/README" todir="${INSTALLDEST}"/>
296    </target>
297    
298   </project>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines