Repository navigation
Expand file tree
/
Copy pathantBuild.xml
More file actions
25 lines (25 loc) · 1.45 KB
/
Copy pathantBuild.xml
File metadata and controls
25 lines (25 loc) · 1.45 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project gmail-transfer 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="/Users/laurent/Documents/workspaces/neon"/>
<property name="dir.jarfile" value="${dir.buildfile}"/>
<target name="create_run_jar">
<jar destfile="${dir.jarfile}/gmail-Transfer.jar">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="net.trebuh.gimapTransfer.Main"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ javax.mail.jar gimap-1.5.5.jar guava-18.0.jar commons-cli-1.3.1.jar"/>
</manifest>
<zipfileset src="jar-in-jar-loader.zip"/>
<fileset dir="${dir.jarfile}/bin"/>
<zipfileset dir="${dir.jarfile}/lib" includes="javax.mail.jar"/>
<zipfileset dir="${dir.jarfile}/lib" includes="gimap-1.5.5.jar"/>
<zipfileset dir="${dir.jarfile}/lib" includes="guava-18.0.jar"/>
<zipfileset dir="${dir.jarfile}/lib" includes="commons-cli-1.3.1.jar"/>
</jar>
</target>
</project>