Revision 564
Added by Matt Jones about 24 years ago
build.xml | ||
---|---|---|
19 | 19 |
<property name="name" value="metacat"/> |
20 | 20 |
<property name="Name" value="MetaCat"/> |
21 | 21 |
<property name="release" value="1.0a8"/> |
22 |
<property name="web-base-url" value="http://www.nceas.ucsb.edu/collab/2840/knbweb"/> |
|
22 |
<property name="web-base-url" |
|
23 |
value="http://www.nceas.ucsb.edu/collab/2840/knbweb"/> |
|
23 | 24 |
<property name="replication-path" value="/metadata/servlet/replication"/> |
24 | 25 |
<property name="servlet-path" value="/metadata/servlet/metacat"/> |
25 | 26 |
<property name="html-path" value="/metadata"/> |
... | ... | |
98 | 99 |
<target name="jar" depends="compile"> |
99 | 100 |
<delete file="${build.dir}/${name}.jar" /> |
100 | 101 |
<copydir src="lib/srbrmi" dest="${build.dest}" /> |
101 |
<jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" /> |
|
102 |
<jar jarfile="${build.dir}/${name}.jar" basedir="${build.dest}" |
|
103 |
excludes="**/protocols/" /> |
|
102 | 104 |
</target> |
103 | 105 |
|
106 |
<target name="protocol" depends="compile"> |
|
107 |
<delete file="${build.dir}/protocol.jar" /> |
|
108 |
<jar jarfile="${build.dir}/protocol.jar" basedir="${build.dest}" |
|
109 |
includes="**/protocols/" /> |
|
110 |
</target> |
|
111 |
|
|
104 | 112 |
<target name="install" depends="jar"> |
105 | 113 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
106 | 114 |
<copyfile src="${build.dir}/${name}.jar" |
Also available in: Unified diff
Modified the build.xml file to support the new protocol handler classes,
which need to be built in a separate jar file bust it must be installed
as part of the tomcat servlet environment, not the web application. Now a
command of "ant protocol" will create the protocol.jar file, which must be
manually installed on Tomcat.