-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuildAppJar.xml
69 lines (69 loc) · 7.51 KB
/
buildAppJar.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
58
59
60
61
62
63
64
65
66
67
68
69
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project DataShot:ImageCapture">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="create_run_jar">
<!-- make production executable jar file -->
<echo message="${ant.project.name}: Create executable jar file: ${ant.file}"/>
<jar destfile="build/ImageCapture.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="edu.harvard.mcz.imagecapture.ImageCaptureApp"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="target/classes"/>
<!-- exclude development (mysql) hibernate.cfg.xml -->
<fileset excludes="hibernate.cfg.xml" dir="target/classes"/>
<fileset excludes="log4j2.xml" dir="target/classes"/>
<!-- include production (oracle) hibernate.cfg.xml (from a svn ignored path) -->
<fileset dir="not_vcs"/>
<!-- include external libraries -->
<!-- multiple conflicting licences mean this jar isn't redistributable -->
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/filteredpush/event_date_qc/2.0.2/event_date_qc-2.0.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/datakurator/ffdq-api/1.0.4-SNAPSHOT/ffdq-api-1.0.4-SNAPSHOT.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/joda-time/joda-time/2.2/joda-time-2.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/apache/logging/log4j/log4j-jcl/2.7/log4j-jcl-2.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/apache/commons/commons-csv/1.5/commons-csv-1.5.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/bouncycastle/bctsp-jdk14/1.38/bctsp-jdk14-1.38.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/bouncycastle/bcprov-jdk14/1.38/bcprov-jdk14-1.38.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/bouncycastle/bcmail-jdk14/1.38/bcmail-jdk14-1.38.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/javax/transaction/jta/1.1/jta-1.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/drewnoakes/metadata-extractor/2.9.1/metadata-extractor-2.9.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/adobe/xmp/xmpcore/5.1.2/xmpcore-5.1.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/mysql/mysql-connector-java/5.1.18/mysql-connector-java-5.1.18.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/swinglabs/swingx/0.9.7/swingx-0.9.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/google/zxing/core/3.3.0/core-3.3.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/google/zxing/javase/3.3.0/javase-3.3.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/beust/jcommander/1.48/jcommander-1.48.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/github/jai-imageio/jai-imageio-core/1.3.1/jai-imageio-core-1.3.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/oracle/ojdbc14/10.2.0.5.0/ojdbc14-10.2.0.5.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/jgoodies/jgoodies-forms/1.6.0/jgoodies-forms-1.6.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/jgoodies/jgoodies-common/1.4.0/jgoodies-common-1.4.0.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/imgscalr/imgscalr-lib/4.2/imgscalr-lib-4.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/commons-codec/commons-codec/1.8/commons-codec-1.8.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/apache/logging/log4j/log4j-core/2.7/log4j-core-2.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/apache/logging/log4j/log4j-api/2.7/log4j-api-2.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.7/log4j-slf4j-impl-2.7.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/slf4j/slf4j-api/1.7.9/slf4j-api-1.7.9.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/sun/istack/istack-commons-runtime/3.0.8/istack-commons-runtime-3.0.8.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/jakarta/xml/bind/jakarta.xml.bind-api/2.3.2/jakarta.xml.bind-api-2.3.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/com/sun/xml/fastinfoset/FastInfoset/1.2.16/FastInfoset-1.2.16.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/glassfish/jaxb/txw2/2.3.2/txw2-2.3.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/jvnet/staxex/stax-ex/1.8.1/stax-ex-1.8.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/jakarta/activation/jakarta.activation-api/1.2.1/jakarta.activation-api-1.2.1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.2/jaxb-runtime-2.3.2.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${user.home}/.m2/repository/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
</jar>
</target>
</project>