| 1 |
< |
# Configuration file for XML build (ant) |
| 1 |
> |
# Configuration file for i-scream DCMS server build script (ANT XML). |
| 2 |
|
|
| 3 |
+ |
# Most of this file should be fine as is, although there |
| 4 |
+ |
# are a few options you may wish to change. |
| 5 |
+ |
# This file should conform the the Java Properties standards. |
| 6 |
+ |
|
| 7 |
+ |
# $Id$ |
| 8 |
+ |
|
| 9 |
+ |
#### Locations of directions #### |
| 10 |
+ |
|
| 11 |
+ |
# nb. ${SOURCEROOT} points to the root of the server directory |
| 12 |
+ |
|
| 13 |
|
# Location of the build directory |
| 14 |
|
BUILDDIR = ${SOURCEROOT}/build |
| 15 |
< |
# Relative (to BUILD) location of the libraries |
| 15 |
> |
# Relative location of the libraries |
| 16 |
|
LIBDIR = ${BUILDDIR}/lib |
| 17 |
|
|
| 18 |
< |
# IDL file details |
| 19 |
< |
IDLDIR = ${SOURCEROOT}/idl |
| 20 |
< |
IDLFILE = ${IDLDIR}/iscream.idl |
| 11 |
< |
IDLPARSER = org.jacorb.idl.parser |
| 12 |
< |
IDLPARSERJAR = ${LIBDIR}/idl.jar |
| 18 |
> |
# Root directory of source files |
| 19 |
> |
# (this will be the first java package) |
| 20 |
> |
ROOTPKG = uk |
| 21 |
|
|
| 22 |
< |
# Required Libraries |
| 22 |
> |
|
| 23 |
> |
#### Compiler Options #### |
| 24 |
> |
|
| 25 |
> |
# Libraries required by the server |
| 26 |
> |
# this should match ${MFCLPATH} (although layout differs) |
| 27 |
|
JCLIBS = ${LIBDIR}/idl.jar:${LIBDIR}/jacorb.jar:${LIBDIR}/jaxp.jar:${LIBDIR}/crimson.jar:${LIBDIR}/mm.mysql-2.0.4-bin.jar |
| 28 |
|
# Compiler Classpath |
| 29 |
|
JCCLASSPATH = ${JCLIBS}:${SOURCEROOT}:${BUILDDIR} |
| 30 |
|
|
| 31 |
|
# Compiler options |
| 32 |
+ |
# turn on debugging? |
| 33 |
|
JCDEBUG = no |
| 34 |
+ |
# turn on optimisation? |
| 35 |
|
JCOPTIM = yes |
| 36 |
+ |
# turn on deprecation warnings? |
| 37 |
|
JCDEPRE = no |
| 38 |
|
|
| 24 |
– |
# Root package |
| 25 |
– |
ROOTPKG = uk |
| 39 |
|
|
| 40 |
< |
# JAR Package names |
| 40 |
> |
#### IDL Information #### |
| 41 |
> |
|
| 42 |
> |
# Directory of IDL file |
| 43 |
> |
IDLDIR = ${SOURCEROOT}/idl |
| 44 |
> |
# IDL file name |
| 45 |
> |
IDLFILE = ${IDLDIR}/iscream.idl |
| 46 |
> |
# Java IDL parser (part of jacorb) |
| 47 |
> |
IDLPARSER = org.jacorb.idl.parser |
| 48 |
> |
# JAR containing IDLPARSER |
| 49 |
> |
IDLPARSERJAR = ${LIBDIR}/idl.jar |
| 50 |
> |
|
| 51 |
> |
|
| 52 |
> |
#### JAR Packages #### |
| 53 |
> |
|
| 54 |
> |
# Server JAR name |
| 55 |
|
SERVERJAR = iscream-server.jar |
| 56 |
< |
UTILJAR = iscream-util.jar |
| 57 |
< |
# Main-class to be added to the Manifest |
| 56 |
> |
|
| 57 |
> |
# Main-class to be added to the Manifest of the Server JAR |
| 58 |
> |
# this is the class that will be loaded on starting the JAR |
| 59 |
|
MFMAINCLASS = uk.org.iscream.componentmanager.ComponentManager |
| 60 |
< |
# Class-path to be added to the Manifest |
| 60 |
> |
|
| 61 |
> |
# Class-path to be added to the Manifest of the Server JAR |
| 62 |
> |
# this should match ${JCLIBS} (although layout differs) |
| 63 |
|
MFCLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.4-bin.jar lib/crimson.jar |
| 64 |
|
|
| 65 |
< |
# Name of archives |
| 65 |
> |
# Util JAR name |
| 66 |
> |
UTILJAR = iscream-util.jar |
| 67 |
> |
# Location of Util source files |
| 68 |
> |
UTILSRC = uk/org/iscream/util/**/*.java |
| 69 |
> |
|
| 70 |
> |
|
| 71 |
> |
#### Distributions #### |
| 72 |
> |
|
| 73 |
> |
# we do that so we could later expand filenames to for example; |
| 74 |
> |
# ${ARCNAME}-something${TARGZEXT} |
| 75 |
> |
|
| 76 |
> |
# Base name of archive |
| 77 |
|
ARCNAME = iscream-server |
| 78 |
+ |
|
| 79 |
+ |
# archive extensions defined |
| 80 |
|
TAREXT = .tar |
| 81 |
|
TARGZEXT = .tar.gz |
| 82 |
|
ZIPEXT = .zip |
| 83 |
|
|
| 84 |
+ |
# complete archive names |
| 85 |
|
TARFILE = ${ARCNAME}${TAREXT} |
| 86 |
|
TARGZFILE = ${ARCNAME}${TARGZEXT} |
| 87 |
|
ZIPFILE = ${ARCNAME}${ZIPEXT} |
| 88 |
|
|
| 45 |
– |
# note NO trailing slash |
| 46 |
– |
LIBURL = http://killigrew.ukc.ac.uk |
| 89 |
|
|
| 90 |
< |
RUNFILTERNAME = filter1 |
| 90 |
> |
#### Install #### |
| 91 |
|
|
| 92 |
+ |
# Default Prefix |
| 93 |
+ |
prefix = /usr/local/iscream-server |
| 94 |
+ |
INSTALLDEST = ${prefix} |
| 95 |
+ |
|
| 96 |
+ |
|
| 97 |
+ |
#### Javadoc #### |
| 98 |
+ |
|
| 99 |
+ |
# Location of Javadoc output |
| 100 |
|
JDOCDIR = ${SOURCEROOT}/doc |
| 101 |
+ |
# Packages to include in the Javadoc |
| 102 |
|
JDOCPKGS = uk.org.iscream.* |
| 103 |
< |
JDOCTITLE = i-scream server |
| 103 |
> |
# Title to put on the Javadoc pages |
| 104 |
> |
JDOCTITLE = i-scream DCMS server |
| 105 |
> |
# Header of Javadoc pages |
| 106 |
|
JDOCHEADER = <img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'> |
| 107 |
+ |
# Footer of Javadoc pages |
| 108 |
|
JDOCBOTTOM = <i>Copyright © 2000-2001 i-scream. All Rights Reserved.</i> |
| 109 |
+ |
# Live link to 1.3 Java API (to allow linking) |
| 110 |
|
JDOCJAPI = http://java.sun.com/j2se/1.3/docs/api/ |
| 111 |
+ |
|
| 112 |
+ |
|
| 113 |
+ |
#### CVS Information #### |
| 114 |
+ |
|
| 115 |
+ |
# These are required for the cvsbuild target |
| 116 |
+ |
|
| 117 |
+ |
# CVS Repository |
| 118 |
+ |
CVSROOT = /usr/local/proj/co600_10/cvs |
| 119 |
+ |
# Module of server |
| 120 |
+ |
CVSMODULE = source/server |
| 121 |
+ |
# Temporary directory to use |
| 122 |
+ |
CVSBUILDTEMP = ${SOURCEROOT}/cvsbuildtemp |
| 123 |
+ |
# Default revision to build |
| 124 |
+ |
rev = HEAD |
| 125 |
+ |
REVISION = ${rev} |
| 126 |
+ |
|
| 127 |
+ |
|
| 128 |
+ |
#### Library Fetching #### |
| 129 |
+ |
|
| 130 |
+ |
# would be nice to be able to list JARs here too... |
| 131 |
+ |
|
| 132 |
+ |
# base url for JARs |
| 133 |
+ |
# note NO trailing slash |
| 134 |
+ |
LIBURL = http://killigrew.ukc.ac.uk |
| 135 |
+ |
|
| 136 |
+ |
#### Running #### |
| 137 |
+ |
|
| 138 |
+ |
# Name of the filter to be given on the command line |
| 139 |
+ |
RUNFILTERNAME = filter1 |