-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_CIF.xml
57 lines (55 loc) · 4.11 KB
/
build_CIF.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project butterflies_sf">
<property name="bin.root" value="target"/>
<property name="dist.root" value="build"/>
<!--property name="m2.root" value="/home/mole/.m2/"/-->
<property name="m2.root" value="/Users/altheaparker/.m2/"/>
<!--ANT 1.7 is required -->
<target name="clean">
<delete file="${dist.root}/CandidateImageFile.jar"/>
</target>
<target name="create_run_jar" depends="clean">
<echo message="${ant.project.name}: Create executable jar file with packaged sources."/>
<jar destfile="${dist.root}/CandidateImageFile.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="edu.harvard.mcz.imagecapture.CandidateImageFile"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${bin.root}/classes/">
<exclude name="**/hibernate.cfg.xml" />
<exclude name="**/log4j.properties" />
<exclude name="**/test*" />
<exclude name="**/server/*" />
<exclude name="**/ui/*" />
</fileset>
<!-- include production log4j.properties (from a svn ignored path) -->
<fileset dir="not_vcs" >
<include name="**/log4j.properties" />
<exclude name="**/hibernate.cfg.xml" />
</fileset>
<fileset file="gpl-2.0.txt" />
<!--new from paul-->
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/filteredpush/event_date_qc/1.0.0/event_date_qc-1.0.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar"/>
<!--end new-->
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/org/imgscalr/imgscalr-lib/4.2/imgscalr-lib-4.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/org/apache/commons/commons-csv/1.4/commons-csv-1.4.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/com/drewnoakes/metadata-extractor/2.9.1/metadata-extractor-2.9.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/com/google/zxing/core/3.3.0/core-3.3.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/com/google/zxing/javase/3.3.0/javase-3.3.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/org/slf4j/slf4j-log4j12/1.5.6/slf4j-log4j12-1.5.6.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/log4j/log4j/1.2.14/log4j-1.2.14.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${m2.root}/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar"/>
<fileset file="${m2.root}/repository/com/google/zxing/core/3.3.0/core-3.3.0-sources.jar" />
<fileset file="${m2.root}/repository/com/google/zxing/javase/3.3.0/javase-3.3.0-sources.jar"/>
<!--fileset file="${m2.root}/repository/com/google/zxing/core/2.3.0/core-2.3.0-sources.jar" />
<fileset file="${m2.root}/repository/com/google/zxing/javase/2.3.0/javase-2.3.0-sources.jar"/-->
<fileset file="${m2.root}/repository/com/drewnoakes/metadata-extractor/2.9.1/metadata-extractor-2.9.1.jar"/>
</jar>
</target>
</project>