-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_jar.xml
23 lines (23 loc) · 1.24 KB
/
build_jar.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="create_run_jar" name="Create Runnable Jar for Project json2code 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}/jars"/>
<target name="create_run_jar">
<jar destfile="${dir.jarfile}/json2code.jar">
<manifest>
<attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
<attribute name="Rsrc-Main-Class" value="json2code.JsonConverter"/>
<attribute name="Class-Path" value="."/>
<attribute name="Rsrc-Class-Path" value="./ juard_0.0.2.jar gson-2.6.2.jar"/>
</manifest>
<zipfileset src="jar-in-jar-loader.zip"/>
<fileset dir="${dir.buildfile}/bin"/>
<zipfileset dir="${dir.buildfile}/libs" includes="juard_0.0.2.jar"/>
<zipfileset dir="${dir.buildfile}/libs" includes="gson-2.6.2.jar"/>
</jar>
</target>
</project>