ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/idl/Makefile
Revision: 1.13
Committed: Mon May 5 22:05:01 2003 UTC (21 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -2 lines
Error occurred while calculating annotation data.
Log Message:
Tidy up of the client interface code - more commonly known as the
"right hand side of the server". Right since the start the filter
side of the server has been nice and tree like - every Filter sent
data to another Filter. At the top of the tree there was a "special"
Filter known as the RootFilter, which to the other Filters just
looked like a normal Filter. This was nice, and simple, and expandable.

The Client Interface on the other hand was messy. The root filter
had some hacky wrapper threads which pulled from a queue and pushed
to the relevant client interfaces (one for real time stuff, and the
other for databases). There was no simple room for expandability -
it was all hardwired to do just what was needed at the time.

This commit changes that. A Client Interface now connects to another
Client Interface, with a special one being found in the RootFilter
(yes, maybe that needs a name change now :-). So we can chain client
interfaces, and move other bits and bobs around in the server - for
example, alerting no longer needs to be connected to the Client
Interface, it can connect straight to the RootFilter (or, wherever
the config tells it ;).

Hopefully this sanitizes the underlying layout of the server a bit.

As a final note, I dropped the DBInterface. This used to insert
data in to a MySQL database. We've long since stopped using that,
and it's fallen behind and is way out of date. For now, it's gone
in to the attic.

File Contents

# Content
1 # Makefile for idl
2 # $Id: Makefile,v 1.12 2003/02/01 19:08:54 tdb Exp $
3
4 include ../Config.inc
5
6 IDLFILES = uk
7
8 .PHONY : all
9 all : build
10
11 .PHONY : idl
12 idl : iscream.idl
13 java -classpath $(BUILD)/lib/idl.jar org.jacorb.idl.parser -sloppy_names iscream.idl
14
15 .PHONY : build
16 build : idl
17 cd uk/org/iscream/cms/server/clientinterface && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
18 cd uk/org/iscream/cms/server/core && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
19 cd uk/org/iscream/cms/server/filter && javac $(JCFLAGS) -classpath $(JCCLASSPATH) -d $(BUILD) *.java
20 @touch $(IDLCHECK)
21 @rm -f $(MCOMPILECHECK)
22
23 .PHONY : clean
24 clean :
25 rm -Rf $(IDLFILES)
26 rm -f $(IDLCHECK)
27
28 include $(MKINC)