forked from AccelerationNet/access2csv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
28 lines (28 loc) · 1.44 KB
/
build.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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project access2csv with Jar-in-Jar Loader">
<path id="classpath">
<fileset dir="lib" includes="**/*.jar"/>
</path>
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="create_run_jar" depends="compile">
<jar destfile="access2csv.jar">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="access2csv.Driver"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ jackcess-2.0.2.jar commons-logging-1.1.3.jar commons-lang-2.6.jar opencsv-2.3.jar"/>
</manifest>
<zipfileset src="jar-in-jar-loader.zip"/>
<fileset dir="bin"/>
<zipfileset dir="lib" includes="jackcess-2.0.2.jar"/>
<zipfileset dir="lib" includes="commons-logging-1.1.3.jar"/>
<zipfileset dir="lib" includes="commons-lang-2.6.jar"/>
<zipfileset dir="lib" includes="opencsv-2.3.jar"/>
</jar>
</target>
<target name="compile">
<mkdir dir="bin"/>
<javac includeantruntime="false" srcdir="src" destdir="bin" classpathref="classpath"/>
</target>
</project>