Revision 1986
Added by Matt Jones over 19 years ago
build.xml | ||
---|---|---|
126 | 126 |
value="lib/eml.jar" /> |
127 | 127 |
<property name="util" |
128 | 128 |
value="lib/utilities.jar" /> |
129 |
<property name="srb" |
|
130 |
value="lib/srbrmi" /> |
|
131 | 129 |
</target> |
132 | 130 |
|
133 | 131 |
<target name="init" depends="config"> |
... | ... | |
190 | 188 |
<filter token="recipient" value="${recipient}"/> |
191 | 189 |
|
192 | 190 |
<property name="cpath" |
193 |
value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${srb}:${cos}:${morpho}:${emlparser}:${jdbc-add1}:${jdbc-add2}:${util}:${httpclient}"/>
|
|
191 |
value="${xmlp}:${xalan}:${apis}:${jdbc}:${jsdk}:${cos}:${morpho}:${emlparser}:${jdbc-add1}:${jdbc-add2}:${util}:${httpclient}"/> |
|
194 | 192 |
|
195 | 193 |
<filter token="docrooturl" value="./" /> |
196 | 194 |
<filter token="jdbc-connect" value="${jdbc-connect}"/> |
... | ... | |
282 | 280 |
</target> |
283 | 281 |
|
284 | 282 |
<target name="compile" depends="prepare,utilities" |
285 |
description="Compiles java code to build dir, and copies metacat + srb props files there">
|
|
283 |
description="Compiles java code to build dir, and copies metacat props files there"> |
|
286 | 284 |
|
287 | 285 |
<javac srcdir="${build.src}" |
288 | 286 |
destdir="${build.dest}" |
289 | 287 |
classpath="${cpath}" |
290 | 288 |
debug="${debug}" |
291 | 289 |
excludes="**/*.sql **/stringclient/** **/client/*.java"/> |
292 |
<copy file="lib/srbProps.properties" |
|
293 |
tofile="${build.dest}/${package.home}/srbProps.properties"/> |
|
294 | 290 |
</target> |
295 | 291 |
|
296 | 292 |
<target name="jar" depends="compile" |
297 | 293 |
description="Compiles and jars metacat java code to metacat.jar in build dir"> |
298 | 294 |
|
299 | 295 |
<delete file="${build.dir}/${name}.jar" /> |
300 |
<copy todir="${build.dest}"> |
|
301 |
<fileset dir="lib/srbrmi"/> |
|
302 |
</copy> |
|
303 | 296 |
<jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" |
304 | 297 |
excludes="**/protocols/" /> |
305 | 298 |
</target> |
... | ... | |
569 | 562 |
<exclude name="*.jar"/> |
570 | 563 |
<exclude name="*.properties"/> |
571 | 564 |
<exclude name="web.xml"/> |
572 |
<exclude name="**/srbrmi*"/> |
|
573 | 565 |
<exclude name="**/*.jpg"/> |
574 | 566 |
<exclude name="**/*.png"/> |
575 | 567 |
<exclude name="**/*.gif"/> |
Also available in: Unified diff
Removed obsolete SRB support files that are no longer used.