-
Notifications
You must be signed in to change notification settings - Fork 2
/
rsbotbuild.xml
23 lines (22 loc) · 1.31 KB
/
rsbotbuild.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 rsjugbot">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!--define folder properties-->
<property name="dir.buildfile" value="."/>
<!--property name="dir.workspace" value="setup workspacedir..."/-->
<property name="dir.jarfile" value="${dir.buildfile}/out"/>
<target name="create_run_jar">
<jar destfile="${dir.jarfile}/rsjugbot-prod.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="org.rsjug.telegram.bot.RsJugBotRunner"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${dir.buildfile}/bin"/>
<zipfileset excludes="META-INF/*.SF" src="${dir.buildfile}/lib/junit-4.13-rc-1.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${dir.buildfile}/lib/hamcrest-core-1.3.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${dir.buildfile}/lib/telegrambots-2.4.0-jar-with-dependencies.jar"/>
<zipfileset excludes="META-INF/*.SF" src="${dir.buildfile}/lib/commons-lang3-3.7.jar"/>
</jar>
</target>
</project>