Project

General

Profile

« Previous | Next » 

Revision 2369

Add harvestListEditorDist target for building distributable versions of the Harvest List Editor tool.

View differences:

build.xml
427 427
            includes="**/metacat/harvesterClient/" />
428 428
   </target>
429 429

  
430
   <target name="harvestListEditorDist" depends="harvesterjar"
431
           description="Prepares a distribution of the Harvest List Editor tool">
432
       <delete dir="${build.tmp}/HLE"/>
433
       <mkdir dir="${build.tmp}/HLE"/>
434
       <copy todir="${build.tmp}/HLE" file="${build.dir}/harvester.jar"/>
435
       <copy todir="${build.tmp}/HLE" file="lib/xercesImpl.jar"/>
436
       <copy todir="${build.tmp}/HLE" file="lib/harvester/harvestList.xsd"/>
437
       <copy todir="${build.tmp}/HLE" file="lib/harvester/harvestListEditor.bat"/>
438
       <copy todir="${build.tmp}/HLE" file="lib/harvester/harvestListEditor.sh"/>
439
       <delete file="./harvestListEditor.zip"/>
440
       <zip zipfile="./harvestListEditor.zip" basedir="${build.tmp}/HLE" />
441
       <delete file="./harvestListEditor.tar.gz" />
442
       <tar tarfile="./harvestListEditor.tar" basedir="${build.tmp}/HLE" />
443
       <gzip zipfile="./harvestListEditor.tar.gz"
444
             src="./harvestListEditor.tar"/>
445
       <delete file="./harvestListEditor.tar" />
446
   </target>
447

  
430 448
   <target  name="geteml" depends="getemlpre2,geteml2+" if="eml.required"
431 449
            description="Calls getemlpre2 and geteml2+ targets" />
432 450

  

Also available in: Unified diff