1 |
< |
<!-- build file for server --> |
1 |
> |
<!-- build file for i-scream CMS server --> |
2 |
> |
<!-- $Id$ --> |
3 |
> |
|
4 |
|
<project name="iscream-server" default="usage"> |
5 |
|
|
6 |
|
<!-- |
45 |
|
|
46 |
|
clean - clean all generated files |
47 |
|
distclean - remove 'fetched' libraries + clean |
48 |
+ |
|
49 |
+ |
Recommend to run the following target order: |
50 |
+ |
|
51 |
+ |
fetch packageutil package javadoc install |
52 |
|
</echo> |
53 |
|
</target> |
54 |
|
|
63 |
|
--> |
64 |
|
|
65 |
|
<!-- this uses static names, which is messy --> |
66 |
< |
<!-- fullcleanup target has same problem --> |
66 |
> |
<!-- distclean target has same problem --> |
67 |
|
<target name="fetch" depends="config"> |
68 |
|
<get |
69 |
|
src="${LIBURL}/crimson.jar" |
86 |
|
verbose="true" usetimestamp="true" |
87 |
|
/> |
88 |
|
<get |
89 |
< |
src="${LIBURL}/mm.mysql-2.0.4-bin.jar" |
90 |
< |
dest="${LIBDIR}/mm.mysql-2.0.4-bin.jar" |
89 |
> |
src="${LIBURL}/mm.mysql-2.0.11-bin.jar" |
90 |
> |
dest="${LIBDIR}/mm.mysql-2.0.11-bin.jar" |
91 |
|
verbose="true" usetimestamp="true" |
92 |
|
/> |
93 |
+ |
<get |
94 |
+ |
src="${LIBURL}/pircbot.jar" |
95 |
+ |
dest="${LIBDIR}/pircbot.jar" |
96 |
+ |
verbose="true" usetimestamp="true" |
97 |
+ |
/> |
98 |
|
<!-- also get jacorb.properties? --> |
99 |
|
</target> |
100 |
|
|
108 |
|
<target name="idl" depends="config"> |
109 |
|
<echo message="Generating Java source from IDL"/> |
110 |
|
<java classname="${IDLPARSER}"> |
111 |
< |
<arg line="-d ${IDLDIR} ${IDLFILE}"/> |
111 |
> |
<arg line="-sloppy_names -d ${IDLDIR} ${IDLFILE}"/> |
112 |
|
<classpath path="${IDLPARSERJAR}"/> |
113 |
|
</java> |
114 |
|
</target> |
152 |
|
<target name="makejar" depends="build"> |
153 |
|
<echo file="${BUILDDIR}/MANIFEST_TMP" |
154 |
|
>Manifest-Version: 1.0 |
155 |
< |
Created-By: www.i-scream.org.uk |
155 |
> |
Created-By: www.i-scream.org |
156 |
|
Main-Class: ${MFMAINCLASS} |
157 |
|
Class-Path: ${MFCLPATH} |
158 |
|
</echo> |