forked from MCUpdater/MCUpdater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-client.xml
34 lines (34 loc) · 1.78 KB
/
build-client.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
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="package" name="Create Runnable Jar for Project MCUpdater">
<property name="MCU-API.location" value="MCU-API"/>
<property name="MCUpdater.location" value="mcu"/>
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<target name="build-API">
<ant antfile="build.xml" dir="${MCU-API.location}" inheritAll="false" target="build-project">
<propertyset>
<propertyref name="build.compiler"/>
</propertyset>
</ant>
</target>
<target name="build-Client">
<ant antfile="build.xml" dir="${MCUpdater.location}" inheritAll="false" target="build-project">
<propertyset>
<propertyref name="build.compiler"/>
</propertyset>
</ant>
</target>
<target name="package" depends="build-API,build-Client">
<jar destfile="dist/MCUpdater.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="org.smbarbour.mcu.Main"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="C:/Users/Scott.Scott-PC/workspace-minecraft/MCUpdater/mcu/bin"/>
<zipfileset excludes="META-INF/*.SF" src="C:/Users/Scott.Scott-PC/workspace-minecraft/MCUpdater/mcu/log4j-1.2.16.jar"/>
<fileset dir="C:/Users/Scott.Scott-PC/workspace-minecraft/MCUpdater/MCU-API/bin"/>
<zipfileset excludes="META-INF/*.SF" src="C:/Users/Scott.Scott-PC/workspace-minecraft/MCUpdater/MCU-API/commons-codec-1.6.jar"/>
<zipfileset excludes="META-INF/*.SF" src="C:/Users/Scott.Scott-PC/workspace-minecraft/MCUpdater/MCU-API/commons-io-2.1.jar"/>
</jar>
</target>
</project>