| 1 | 
   | 
 # Include Config for the server | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 2 | 
   | 
 # $Id$ | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 3 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 4 | 
 < | 
 ## | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 5 | 
 < | 
 ## Only the first two need changing here, the rest are just information | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 6 | 
 < | 
 ## for use throughout the build scripts | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
 < | 
 ## | 
 
 
 
 
 
 
 
 
 
 | 4 | 
 > | 
 # Name of our dist | 
 
 
 
 
 
 | 5 | 
 > | 
 DISTNAME = iscream_server | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 6 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
 < | 
 ## File and Path Locations | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 7 | 
 > | 
 # Location of the i-scream CVS Repository Root | 
 
 
 
 
 
 | 8 | 
 > | 
 CVSROOT = :pserver:anonymous@cvs.i-scream.org.uk:/cvs/i-scream | 
 
 
 
 
 
 | 9 | 
 > | 
 CVSSERVERMODULE = cms/source/server | 
 
 
 
 
 
 
 
 
 
 
 
 | 10 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 11 | 
 < | 
 # ****** These two will need to be set correctly ****** | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 12 | 
 < | 
 # Location of the CVS Repository Root | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 13 | 
 < | 
 CVSROOT = /usr/local/proj/co600_10/cvs | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 14 | 
 < | 
 # Location of the checked out local copy (hope to automate this) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 15 | 
 < | 
 SERVERROOT = /home/cut/tdb1/cvs/source/server | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 16 | 
 < | 
 # ****** These two will need to be set correctly ****** | 
 
 
 
 
 
 
 
 
 
 | 11 | 
 > | 
 # This will attempt to locate cvs, and return the path. | 
 
 
 
 
 
 | 12 | 
 > | 
 CVS = `if test -x /usr/bin/cvs; then echo /usr/bin/cvs; else if test -x /usr/local/bin/cvs; then echo /usr/local/bin/cvs; else echo cvs; fi fi` | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 13 | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 14 | 
 + | 
 # and the same for cvs2cl | 
 
 
 
 
 
 
 
 
 | 15 | 
 + | 
 CVS2CL = `if test -x /usr/bin/cvs2cl; then echo /usr/bin/cvs2cl; else if test -x /usr/local/bin/cvs2cl; then echo /usr/local/bin/cvs2cl; else echo cvs2cl; fi fi` | 
 
 
 
 
 
 
 
 
 | 16 | 
 + | 
 # and flags for cvs2cl | 
 
 
 
 
 
 
 
 
 | 17 | 
 + | 
 CVS2CLFLAGS = --stdout -r -t -w -S -g "-d $(CVSROOT)" -g "-q" | 
 
 
 
 
 
 
 
 
 | 18 | 
 + | 
  | 
 
 
 
 
 
 
 
 
 | 19 | 
 + | 
 # Binary to run for javac and javadoc | 
 
 
 
 
 
 
 
 
 | 20 | 
 + | 
 JAVACBIN = javac | 
 
 
 
 
 
 
 
 
 | 21 | 
 + | 
 JAVADOCBIN = javadoc | 
 
 
 
 
 
 
 
 
 | 22 | 
 + | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
 # Location of the build directory | 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
 < | 
 BUILD = $(SERVERROOT)/build | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
 > | 
 BUILDDIRNAME = build | 
 
 
 
 
 
 | 25 | 
 > | 
 BUILD = $(SOURCEROOT)/$(BUILDDIRNAME) | 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
   | 
 # Relative (to BUILD) location of the libraries | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
 LIBDIR = $(BUILD)/lib | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
 # Location of the main include | 
 
 
 
 
 
 
 
 
 
 
 
 | 29 | 
 < | 
 MKINC = $(SERVERROOT)/Makefile.inc | 
 
 
 
 
 
 
 
 
 
 | 29 | 
 > | 
 MKINC = $(SOURCEROOT)/Makefile.inc | 
 
 
 
 
 
 
 
 
 
 
 
 | 30 | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 31 | 
 + | 
 # cvs build temporary directory name | 
 
 
 
 
 
 
 
 
 | 32 | 
 + | 
 CVSBUILDTEMP = cvsbuildtemp | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 33 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 34 | 
 < | 
 ## JAR information | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 34 | 
 > | 
 # Compiler Information | 
 
 
 
 
 
 | 35 | 
 > | 
 JCLIBS = $(LIBDIR)/idl.jar:$(LIBDIR)/jacorb.jar:$(LIBDIR)/jaxp.jar:$(LIBDIR)/crimson.jar:$(LIBDIR)/mm.mysql-2.0.11-bin.jar:$(LIBDIR)/pircbot.jar | 
 
 
 
 
 
 | 36 | 
 > | 
 JCCLASSPATH = $(JCLIBS):$(SOURCEROOT):$(BUILD):$(SOURCEROOT)/idl:. | 
 
 
 
 
 
 | 37 | 
 > | 
 # set JCFLAGS to these if you want to optimise and turn off debugging | 
 
 
 
 
 
 | 38 | 
 > | 
 #JCFLAGS = -g:none -O | 
 
 
 
 
 
 | 39 | 
 > | 
 JCFLAGS = | 
 
 
 
 
 
 
 
 
 
 
 
 | 40 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 41 | 
   | 
 # Name of JAR file (will be created in BUILD) | 
 
 
 
 
 
 
 
 
 
 
 
 | 42 | 
 < | 
 PACKAGE = iscream.jar | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 42 | 
 > | 
 PACKAGE = $(DISTNAME).jar | 
 
 
 
 
 
 | 43 | 
 > | 
 UTILPACKAGE = iscream_util.jar | 
 
 
 
 
 
 
 
 
 
 
 
 | 44 | 
   | 
 # Main-class to be added to the Manifest | 
 
 
 
 
 
 
 
 
 
 
 
 | 45 | 
 < | 
 MAINCLASS = uk.ac.ukc.iscream.core.Core | 
 
 
 
 
 
 
 
 
 
 | 45 | 
 > | 
 MAINCLASS = uk.org.iscream.cms.server.componentmanager.ComponentManager | 
 
 
 
 
 
 
 
 
 
 
 
 | 46 | 
   | 
 # Class-path to be added to the Manifest | 
 
 
 
 
 
 
 
 
 
 
 
 | 47 | 
 < | 
 CLPATH = $(LIBDIR)/idl.jar $(LIBDIR)/jacorb.jar $(LIBDIR)/jaxp.jar $(LIBDIR)/parser.jar | 
 
 
 
 
 
 
 
 
 
 | 47 | 
 > | 
 CLPATH = lib/idl.jar lib/jacorb.jar lib/jaxp.jar lib/mm.mysql-2.0.11-bin.jar lib/crimson.jar lib/pircbot.jar | 
 
 
 
 
 
 
 
 
 
 
 
 | 48 | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 49 | 
 + | 
 # CHECK Files (for dependencies) | 
 
 
 
 
 
 
 
 
 | 50 | 
 + | 
 IDLCHECK = $(SOURCEROOT)/.doneidl | 
 
 
 
 
 
 
 
 
 | 51 | 
 + | 
 BUILDCHECK = $(SOURCEROOT)/.donebuild | 
 
 
 
 
 
 
 
 
 | 52 | 
 + | 
 COMPILECHECK = .donecompile | 
 
 
 
 
 
 
 
 
 | 53 | 
 + | 
 COPYCHECK = .donecopy | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 54 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 55 | 
 < | 
 ## IDL information | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 55 | 
 > | 
 # Javadoc package list | 
 
 
 
 
 
 | 56 | 
 > | 
 PKGLIST = uk.org.iscream.cms.server.clientinterface\ | 
 
 
 
 
 
 | 57 | 
 > | 
         uk.org.iscream.cms.server.componentmanager\ | 
 
 
 
 
 
 | 58 | 
 > | 
         uk.org.iscream.cms.server.core\ | 
 
 
 
 
 
 | 59 | 
 > | 
         uk.org.iscream.cms.server.core.loggers\ | 
 
 
 
 
 
 | 60 | 
 > | 
         uk.org.iscream.cms.server.dbinterface\ | 
 
 
 
 
 
 | 61 | 
 > | 
         uk.org.iscream.cms.server.filter\ | 
 
 
 
 
 
 | 62 | 
 > | 
         uk.org.iscream.cms.server.filter.plugins\ | 
 
 
 
 
 
 | 63 | 
 > | 
         uk.org.iscream.cms.server.filtermanager\ | 
 
 
 
 
 
 | 64 | 
 > | 
         uk.org.iscream.cms.server.rootfilter\ | 
 
 
 
 
 
 | 65 | 
 > | 
         uk.org.iscream.cms.server.util\ | 
 
 
 
 
 
 | 66 | 
 > | 
         uk.org.iscream.cms.server.client\ | 
 
 
 
 
 
 | 67 | 
 > | 
         uk.org.iscream.cms.server.client.monitors\ | 
 
 
 
 
 
 | 68 | 
 > | 
         uk.org.iscream.cms.server.client.alerters | 
 
 
 
 
 
 
 
 
 
 
 
 | 69 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
 < | 
 # Location IDL files will be checked out to | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 71 | 
 < | 
 IDLFILES = $(SERVERROOT)/idl/uk | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 70 | 
 > | 
 # Javadoc formatting | 
 
 
 
 
 
 | 71 | 
 > | 
 JDTITLE = "i-scream CMS server" | 
 
 
 
 
 
 | 72 | 
 > | 
 JDHEADER = "<img src='http://www.i-scream.org.uk/i-scream_small.gif' width='146' height='38'>" | 
 
 
 
 
 
 | 73 | 
 > | 
 JDBOTTOM = "<i>Copyright &\#169; 2000-2002 i-scream. All Rights Reserved.</i>" | 
 
 
 
 
 
 
 
 
 
 
 
 | 74 | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 75 | 
 + | 
 # Javadoc API linking | 
 
 
 
 
 
 
 
 
 | 76 | 
 + | 
 JDJAPI = "http://java.sun.com/j2se/1.3/docs/api/" | 
 
 
 
 
 
 
 
 
 | 77 | 
 + | 
 JDPBAPI = "http://www.jibble.org/javadocs/pircbot/" | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 78 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 | 79 | 
 < | 
 ## CHECK Files (for dependencies) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 80 | 
 < | 
 IDLCHECK = $(SERVERROOT)/.doneidl | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 81 | 
 < | 
 BUILDCHECK = $(SERVERROOT)/.donebuild | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 79 | 
 > | 
 # Javadoc Directories | 
 
 
 
 
 
 | 80 | 
 > | 
 DOCDIR = $(BUILD)/doc | 
 
 
 
 
 
 | 81 | 
 > | 
 DOCTMPDIR = $(BUILD)/doctemp | 
 
 
 
 
 
 | 82 | 
 > | 
  | 
 
 
 
 
 
 | 83 | 
 > | 
 # ChangeLog file | 
 
 
 
 
 
 | 84 | 
 > | 
 CHANGELOG = $(BUILD)/ChangeLog | 
 
 
 
 
 
 | 85 | 
 > | 
  | 
 
 
 
 
 
 | 86 | 
 > | 
 # Directory to put the source code in | 
 
 
 
 
 
 | 87 | 
 > | 
 SRCDIR = $(BUILD)/src | 
 
 
 
 
 
 | 88 | 
 > | 
 # Files to be included in the source code dist | 
 
 
 
 
 
 | 89 | 
 > | 
 SRCFILES = Config2.inc Makefile Makefile.inc README build.config \ | 
 
 
 
 
 
 | 90 | 
 > | 
            build.xml configure db uk idl COPYING \ | 
 
 
 
 
 
 | 91 | 
 > | 
            $(BUILDDIRNAME)/README $(BUILDDIRNAME)/etc \ | 
 
 
 
 
 
 | 92 | 
 > | 
            $(BUILDDIRNAME)/lib $(BUILDDIRNAME)/run.bat \ | 
 
 
 
 
 
 | 93 | 
 > | 
            $(BUILDDIRNAME)/run.sh $(BUILDDIRNAME)/Makefile | 
 
 
 
 
 
 | 94 | 
 > | 
  | 
 
 
 
 
 
 | 95 | 
 > | 
 # User configurable options - defaults | 
 
 
 
 
 
 | 96 | 
 > | 
 tag = HEAD | 
 
 
 
 
 
 | 97 | 
 > | 
 ver = HEAD | 
 
 
 
 
 
 | 98 | 
 > | 
 dest = $(BUILD) | 
 
 
 
 
 
 | 99 | 
 > | 
 prefix = /usr/local/$(DISTNAME) | 
 
 
 
 
 
 | 100 | 
 > | 
  | 
 
 
 
 
 
 | 101 | 
 > | 
 # Install Prefix | 
 
 
 
 
 
 | 102 | 
 > | 
 INSTALL = $(prefix) | 
 
 
 
 
 
 | 103 | 
 > | 
 VERSION = $(ver) | 
 
 
 
 
 
 | 104 | 
 > | 
 DISTDEST = $(dest) | 
 
 
 
 
 
 | 105 | 
 > | 
 CVSTAG = $(tag) | 
 
 
 
 
 
 | 106 | 
 > | 
  | 
 
 
 
 
 
 | 107 | 
 > | 
 # Archive extensions | 
 
 
 
 
 
 | 108 | 
 > | 
 TAREXT = .tar | 
 
 
 
 
 
 | 109 | 
 > | 
 TARGZEXT = .tar.gz | 
 
 
 
 
 
 | 110 | 
 > | 
 ZIPEXT = .zip | 
 
 
 
 
 
 | 111 | 
 > | 
  | 
 
 
 
 
 
 | 112 | 
 > | 
 # Subdirectory the dist should be in | 
 
 
 
 
 
 | 113 | 
 > | 
 DISTDIR = $(DISTNAME)-$(VERSION) | 
 
 
 
 
 
 | 114 | 
 > | 
  | 
 
 
 
 
 
 | 115 | 
 > | 
 # Name of various distfiles | 
 
 
 
 
 
 | 116 | 
 > | 
 TARFILE = $(DISTNAME)-$(VERSION)$(TAREXT) | 
 
 
 
 
 
 | 117 | 
 > | 
 TARGZFILE = $(DISTNAME)-$(VERSION)$(TARGZEXT) | 
 
 
 
 
 
 | 118 | 
 > | 
 ZIPFILE = $(DISTNAME)-$(VERSION)$(ZIPEXT) |