45 lines
2.9 KiB
XML
45 lines
2.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<project default="create_run_jar" name="Create Runnable Jar for Project MamHistoryLoader with libraries in sub-folder">
|
|
<!--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="${dir.buildfile}/.."/>
|
|
<property name="dir.jarfile" value="${dir.buildfile}/dist"/>
|
|
<property name="dir.libs" value="${dir.jarfile}/libs"/>
|
|
<target name="create_run_jar">
|
|
<delete dir="${dir.libs}"/>
|
|
<mkdir dir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-core-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-extensions-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/jxmpp-core-0.5.0.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/jxmpp-jid-0.5.0.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/xmlpull-1.1.3.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/xpp3_min-1.1.4c.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-experimental-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-java7-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-resolver-minidns-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-tcp-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/minidns-core-0.2.4.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/minidns-hla-0.2.4.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/minidns-iterative-resolver-0.2.4.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/minidns-dnssec-0.2.4.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/jxmpp-util-cache-0.5.0.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-im-4.2.1.jar" todir="${dir.libs}"/>
|
|
<copy file="${dir.buildfile}/libs/3rdParty/smack/smack-sasl-javax-4.2.1.jar" todir="${dir.libs}"/>
|
|
|
|
<manifestclasspath property="mamloader.manifest.classpath" jarfile="${dir.jarfile}/MAMLoader.jar">
|
|
<classpath>
|
|
<fileset dir="${dir.libs}" includes="*.jar" />
|
|
</classpath>
|
|
</manifestclasspath>
|
|
|
|
<jar destfile="${dir.jarfile}/MAMLoader.jar">
|
|
<manifest>
|
|
<attribute name="Main-Class" value="de.thedevstack.xmpp.mamloader.MamLoader"/>
|
|
<attribute name="Class-Path" value="${mamloader.manifest.classpath}"/>
|
|
</manifest>
|
|
<fileset dir="${dir.buildfile}/bin"/>
|
|
</jar>
|
|
</target>
|
|
</project>
|