Revision 2059
Added by Duane Costa almost 21 years ago
build.xml | ||
---|---|---|
329 | 329 |
includes="**/metacat/client/" /> |
330 | 330 |
</target> |
331 | 331 |
|
332 |
<target name="harvester" depends="clientjar"
|
|
332 |
<target name="harvester" depends="client" |
|
333 | 333 |
description="Compiles harvester java code to build dir"> |
334 | 334 |
<echo message="classpath is: ${cpath}"/> |
335 | 335 |
<javac srcdir="${build.src}" |
... | ... | |
339 | 339 |
</target> |
340 | 340 |
|
341 | 341 |
<target name="harvesterjar" depends="harvester" |
342 |
description="Compiles and jars harvester java code to harvester-client.jar in build dir">
|
|
343 |
<delete file="${build.dir}/harvester-client.jar" />
|
|
344 |
<jar jarfile="${build.dir}/harvester-client.jar" basedir="${build.dest}"
|
|
342 |
description="Compiles and jars harvester java code to harvester.jar in build dir"> |
|
343 |
<delete file="${build.dir}/harvester.jar" /> |
|
344 |
<jar jarfile="${build.dir}/harvester.jar" basedir="${build.dest}" |
|
345 | 345 |
includes="**/metacat/harvesterClient/" /> |
346 | 346 |
</target> |
347 | 347 |
|
348 |
<target name="installharvester" depends="harvesterjar,install" |
|
349 |
description="Installs harvester web-server files"> |
|
350 |
<mkdir dir="${installdir}/WEB-INF/lib" /> |
|
351 |
<copy file="lib/style/skins/dev/harvesterLogin.html" |
|
352 |
tofile="${installdir}/harvesterLogin.html" /> |
|
353 |
<copy file="lib/style/skins/dev/harvesterUpload.html" |
|
354 |
tofile="${installdir}/harvesterUpload.html" /> |
|
355 |
<copy file="${build.dir}/harvester-client.jar" |
|
356 |
tofile="${installdir}/WEB-INF/lib/harvester-client.jar" /> |
|
357 |
</target> |
|
358 |
|
|
359 | 348 |
<target name="geteml" depends="getemlpre2,geteml2+" |
360 | 349 |
description="Calls getemlpre2 and geteml2+ targets" /> |
361 | 350 |
|
... | ... | |
552 | 541 |
</war> |
553 | 542 |
</target> |
554 | 543 |
|
555 |
<target name="warPrepare" depends="jar,clientjar" |
|
544 |
<target name="warPrepare" depends="jar,clientjar,harvesterjar"
|
|
556 | 545 |
description="Prepare files for creating a web archive (WAR)"> |
557 | 546 |
|
558 | 547 |
<property name="war.lib" value="${build.war}/lib" /> |
... | ... | |
564 | 553 |
|
565 | 554 |
<copy file="${build.dir}/${name}.jar" todir="${war.lib}" /> |
566 | 555 |
<copy file="${build.dir}/${name}-client.jar" todir="${war.lib}" /> |
556 |
<copy file="${build.dir}/harvester.jar" todir="${war.lib}" /> |
|
567 | 557 |
<copy todir="${war.lib}" filtering="no"> |
568 | 558 |
<fileset dir="lib"> |
569 | 559 |
<include name="*.jar"/> |
Also available in: Unified diff
Changes to harvester targets