-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
39 lines (36 loc) · 1.63 KB
/
build.xml
File metadata and controls
39 lines (36 loc) · 1.63 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project tagbrowser with Jar-in-Jar Loader">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="clean">
<delete dir="bin" />
<delete dir="dist" />
</target>
<target name="compile">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin">
<classpath>
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="create_run_jar" depends="compile">
<mkdir dir="dist"/>
<jar destfile="dist/tagsobe.jar" >
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="org.tagsobe.script.HotelBookingTest"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ httpclient-4.1.2.jar httpcore-4.1.2.jar commons-logging-1.1.1.jar jsoup-1.6.1.jar junit.jar org.hamcrest.core_1.1.0.v20090501071000.jar"/>
</manifest>
<zipfileset src="lib/jar-in-jar-loader.zip"/>
<fileset dir="bin"/>
<zipfileset dir="lib" includes="httpclient-4.1.2.jar"/>
<zipfileset dir="lib" includes="httpcore-4.1.2.jar"/>
<zipfileset dir="lib" includes="commons-logging-1.1.1.jar"/>
<zipfileset dir="lib" includes="jsoup-1.6.1.jar"/>
</jar>
</target>
</project>