1 |
tdb |
1.10 |
# Configuration file for i-scream CMS server build script (ANT XML). |
2 |
tdb |
1.1 |
|
3 |
tdb |
1.9 |
# 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 |
tdb |
1.17 |
# $Id: build.config,v 1.16 2002/02/09 17:04:33 tdb Exp $ |
8 |
tdb |
1.9 |
|
9 |
|
|
#### Locations of directions #### |
10 |
|
|
|
11 |
|
|
# nb. ${SOURCEROOT} points to the root of the server directory |
12 |
tdb |
1.6 |
|
13 |
tdb |
1.1 |
# Location of the build directory |
14 |
|
|
BUILDDIR = ${SOURCEROOT}/build |
15 |
tdb |
1.9 |
# Relative location of the libraries |
16 |
tdb |
1.1 |
LIBDIR = ${BUILDDIR}/lib |
17 |
|
|
|
18 |
tdb |
1.9 |
# Root directory of source files |
19 |
|
|
# (this will be the first java package) |
20 |
|
|
ROOTPKG = uk |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
#### Compiler Options #### |
24 |
tdb |
1.1 |
|
25 |
tdb |
1.9 |
# Libraries required by the server |
26 |
|
|
# this should match ${MFCLPATH} (although layout differs) |
27 |
tdb |
1.15 |
JCLIBS = ${LIBDIR}/idl.jar:${LIBDIR}/jacorb.jar:${LIBDIR}/jaxp.jar:${LIBDIR}/crimson.jar:${LIBDIR}/mm.mysql-2.0.11-bin.jar:${LIBDIR}/pircbot.jar |
28 |
tdb |
1.1 |
# Compiler Classpath |
29 |
|
|
JCCLASSPATH = ${JCLIBS}:${SOURCEROOT}:${BUILDDIR} |
30 |
|
|
|
31 |
|
|
# Compiler options |
32 |
tdb |
1.9 |
# turn on debugging? |
33 |
tdb |
1.1 |
JCDEBUG = no |
34 |
tdb |
1.9 |
# turn on optimisation? |
35 |
tdb |
1.1 |
JCOPTIM = yes |
36 |
tdb |
1.9 |
# turn on deprecation warnings? |
37 |
tdb |
1.1 |
JCDEPRE = no |
38 |
|
|
|
39 |
|
|
|
40 |
tdb |
1.9 |
#### 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 |
tdb |
1.1 |
SERVERJAR = iscream-server.jar |
56 |
tdb |
1.9 |
|
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 |
tdb |
1.10 |
MFMAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager |
60 |
tdb |
1.9 |
|
61 |
|
|
# Class-path to be added to the Manifest of the Server JAR |
62 |
|
|
# this should match ${JCLIBS} (although layout differs) |
63 |
tdb |
1.15 |
MFCLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar |
64 |
tdb |
1.1 |
|
65 |
tdb |
1.9 |
# Util JAR name |
66 |
|
|
UTILJAR = iscream-util.jar |
67 |
|
|
# Location of Util source files |
68 |
tdb |
1.10 |
UTILSRC = uk/org/iscream/cms/server/util/**/*.java |
69 |
tdb |
1.9 |
|
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 |
tdb |
1.1 |
ARCNAME = iscream-server |
78 |
tdb |
1.9 |
|
79 |
|
|
# archive extensions defined |
80 |
tdb |
1.1 |
TAREXT = .tar |
81 |
|
|
TARGZEXT = .tar.gz |
82 |
|
|
ZIPEXT = .zip |
83 |
|
|
|
84 |
tdb |
1.9 |
# complete archive names |
85 |
tdb |
1.1 |
TARFILE = ${ARCNAME}${TAREXT} |
86 |
|
|
TARGZFILE = ${ARCNAME}${TARGZEXT} |
87 |
|
|
ZIPFILE = ${ARCNAME}${ZIPEXT} |
88 |
tdb |
1.3 |
|
89 |
tdb |
1.4 |
|
90 |
tdb |
1.9 |
#### Install #### |
91 |
|
|
|
92 |
|
|
# Default Prefix |
93 |
|
|
prefix = /usr/local/iscream-server |
94 |
|
|
INSTALLDEST = ${prefix} |
95 |
|
|
|
96 |
|
|
|
97 |
|
|
#### Javadoc #### |
98 |
tdb |
1.5 |
|
99 |
tdb |
1.9 |
# Location of Javadoc output |
100 |
tdb |
1.5 |
JDOCDIR = ${SOURCEROOT}/doc |
101 |
tdb |
1.9 |
# Packages to include in the Javadoc |
102 |
tdb |
1.10 |
JDOCPKGS = uk.org.iscream.cms.server.* |
103 |
tdb |
1.9 |
# Title to put on the Javadoc pages |
104 |
tdb |
1.10 |
JDOCTITLE = i-scream CMS server |
105 |
tdb |
1.9 |
# Header of Javadoc pages |
106 |
tdb |
1.5 |
JDOCHEADER = <img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'> |
107 |
tdb |
1.9 |
# Footer of Javadoc pages |
108 |
tdb |
1.16 |
JDOCBOTTOM = <i>Copyright © 2000-2002 i-scream. All Rights Reserved.</i> |
109 |
tdb |
1.9 |
# Live link to 1.3 Java API (to allow linking) |
110 |
tdb |
1.5 |
JDOCJAPI = http://java.sun.com/j2se/1.3/docs/api/ |
111 |
tdb |
1.6 |
|
112 |
tdb |
1.7 |
|
113 |
tdb |
1.9 |
#### CVS Information #### |
114 |
|
|
|
115 |
|
|
# These are required for the cvsbuild target |
116 |
tdb |
1.8 |
|
117 |
tdb |
1.9 |
# CVS Repository |
118 |
tdb |
1.12 |
CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream |
119 |
tdb |
1.9 |
# Module of server |
120 |
tdb |
1.11 |
CVSMODULE = cms/source/server |
121 |
tdb |
1.9 |
# Temporary directory to use |
122 |
tdb |
1.8 |
CVSBUILDTEMP = ${SOURCEROOT}/cvsbuildtemp |
123 |
tdb |
1.9 |
# Default revision to build |
124 |
tdb |
1.8 |
rev = HEAD |
125 |
|
|
REVISION = ${rev} |
126 |
tdb |
1.9 |
|
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 |
tdb |
1.17 |
LIBURL = http://www.i-scream.org/pub/i-scream/cms/lib |
135 |
tdb |
1.9 |
|
136 |
|
|
#### Running #### |
137 |
|
|
|
138 |
|
|
# Name of the filter to be given on the command line |
139 |
|
|
RUNFILTERNAME = filter1 |