-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild-jar.xml
More file actions
58 lines (58 loc) · 3.15 KB
/
build-jar.xml
File metadata and controls
58 lines (58 loc) · 3.15 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="usage" name="Create Runnable Jar for Project excel2oap">
<!-- default="create_run_jar" -->
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!--define folder properties-->
<property name="dir.buildfile" value="."/>
<property name="dir.workspace" value="${dir.buildfile}/.."/>
<property name="dir.jarfile" value="${dir.buildfile}"/>
<target name="usage">
<echo>targets: create_socat_jar</echo>
<echo> create_ocads_jar</echo>
</target>
<target name="create_socat_jar">
<property name="xml.jar" value="oads/oads_v_a0.2.2s.jar"/>
<property name="jar.file.name" value="excel2oap_socat.jar"/>
<antcall target="create_run_jar"/>
</target>
<target name="create_ocads_jar">
<property name="xml.jar" value="oads/oads_v_a0.2.2.jar"/>
<property name="jar.file.name" value="excel2oap_ocads.jar"/>
<antcall target="create_run_jar"/>
</target>
<target name="create_run_jar">
<jar destfile="${dir.jarfile}/${jar.file.name}" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="gov.noaa.pmel.excel2oap.Excel2OAP"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${dir.jarfile}/classes"/>
<zipfileset src="${dir.jarfile}/lib/tws_util.jar"/>
<zipfileset src="${dir.jarfile}/lib/activation-1.1.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-codec-1.11.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-collections4-4.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-logging-1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-math3-3.6.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/jaxb-api-2.3.0.jar"/>
<zipfileset src="${dir.jarfile}/lib/jaxb-core-2.3.0.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/jaxb-impl-2.3.0.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/junit-4.12.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-compress-1.18.jar"/>
<zipfileset src="${dir.jarfile}/lib/SDIMetadata.jar"/>
<zipfileset src="${dir.jarfile}/lib/commons-csv-1.4.jar"/>
<zipfileset src="${dir.jarfile}/lib/poi-4.1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/poi-excelant-4.1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/poi-ooxml-4.1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/poi-ooxml-schemas-4.1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/poi-scratchpad-4.1.2.jar"/>
<zipfileset src="${dir.jarfile}/lib/ooxml-strict-converter.jar"/>
<zipfileset src="${dir.jarfile}/lib/xmlbeans-3.1.0.jar"/>
<zipfileset src="${xml.jar}"/>
<zipfileset src="${dir.jarfile}/lib/jdom-2.0.6.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/log4j-1.2-api-2.17.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/log4j-api-2.17.1.jar"/>
<zipfileset src="${dir.jarfile}/lib/log4j-core-2.17.1.jar"/>
</jar>
</target>
</project>