-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathJAR_Builder.xml
More file actions
28 lines (28 loc) · 1.89 KB
/
JAR_Builder.xml
File metadata and controls
28 lines (28 loc) · 1.89 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="Export JAR" name="Create Runnable Jar for Project asset_management with Jar-in-Jar Loader">
<!--this file was created by Eclipse Runnable JAR file 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}/export"/>
<target name="Export JAR">
<jar destfile="${dir.jarfile}/asset_management.jar">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="Main.Main"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ mysql-connector-java-8.0.19.jar poi-4.1.2.jar poi-ooxml-4.1.2.jar commons-collections4-4.4.jar xmlbeans-3.1.0.jar commons-compress-1.20.jar poi-ooxml-schemas-4.1.2.jar"/>
</manifest>
<zipfileset src="jar-in-jar-loader.zip"/>
<fileset dir="${dir.buildfile}/bin"/>
<zipfileset dir="${dir.buildfile}/lib/myqsl_connector" includes="mysql-connector-java-8.0.19.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="poi-4.1.2.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="poi-ooxml-4.1.2.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="commons-collections4-4.4.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="xmlbeans-3.1.0.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="commons-compress-1.20.jar"/>
<zipfileset dir="${dir.buildfile}/lib/apache_poi" includes="poi-ooxml-schemas-4.1.2.jar"/>
</jar>
</target>
</project>