Revision 1950
Added by Duane Costa almost 21 years ago
build.xml | ||
---|---|---|
274 | 274 |
<include name="**/*.sql"/> |
275 | 275 |
<exclude name="**/CVS*"/> |
276 | 276 |
<exclude name="**/.#*"/> |
277 |
<exclude name="edu/ucsb/nceas/metacat/harvesterClient/*.*"/> |
|
278 | 277 |
</fileset> |
279 | 278 |
</copy> |
280 | 279 |
</target> |
... | ... | |
334 | 333 |
includes="**/metacat/client/" /> |
335 | 334 |
</target> |
336 | 335 |
|
336 |
<target name="harvester" depends="clientjar" |
|
337 |
description="Compiles harvester java code to build dir"> |
|
338 |
<echo message="classpath is: ${cpath}"/> |
|
339 |
<javac srcdir="${build.src}" |
|
340 |
destdir="${build.dest}" |
|
341 |
classpath="${cpath}" |
|
342 |
includes="edu/ucsb/nceas/metacat/harvesterClient/*" /> |
|
343 |
</target> |
|
344 |
|
|
345 |
<target name="harvesterjar" depends="harvester" |
|
346 |
description="Compiles and jars harvester java code to harvester-client.jar in build dir"> |
|
347 |
<delete file="${build.dir}/harvester-client.jar" /> |
|
348 |
<jar jarfile="${build.dir}/harvester-client.jar" basedir="${build.dest}" |
|
349 |
includes="**/metacat/harvesterClient/" /> |
|
350 |
</target> |
|
351 |
|
|
352 |
<target name="installharvester" depends="harvesterjar,install" |
|
353 |
description="Installs harvester web-server files"> |
|
354 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
|
355 |
<copy file="lib/style/skins/dev/harvesterLogin.html" |
|
356 |
tofile="${installdir}/harvesterLogin.html" /> |
|
357 |
<copy file="lib/style/skins/dev/harvesterUpload.html" |
|
358 |
tofile="${installdir}/harvesterUpload.html" /> |
|
359 |
<copy file="${build.dir}/harvester-client.jar" |
|
360 |
tofile="${installdir}/WEB-INF/lib/harvester-client.jar" /> |
|
361 |
</target> |
|
362 |
|
|
337 | 363 |
<target name="geteml" depends="getemlpre2,geteml2+" |
338 | 364 |
description="Calls getemlpre2 and geteml2+ targets" /> |
339 | 365 |
|
Also available in: Unified diff
Add harvester targets