1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project default="create_run_jar" name="Runnable Jar for Project SPlat with Jar-in-Jar Loader builder">
3 <!--this file was created by Eclipse Runnable JAR Export Wizard-->
4 <!--ANT 1.7 is required -->
5 <property environment="env" />
6 <property file="../SPlat/build.properties" description="set the SPlat build parameters" />
7 <property file="build.properties" description="set the build parameters" />
9 <target name="create_run_jar">
10 <mkdir dir="${converter.dist.dir}" />
11 <jar destfile="${converter.dist.dir}/converter.jar">
13 <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
14 <attribute name="Rsrc-Main-Class" value="Test"/>
15 <attribute name="Class-Path" value="."/>
16 <attribute name="Rsrc-Class-Path" value="./ mysql-connector-java-5.1.5-bin.jar hibernate-3.5.jar dom4j-1.6.1.jar log4j-1.2.15.jar splat-kernel.jar commons-collections-3.1.jar antlr-2.7.6.jar javassist-3.9.0.GA.jar jta-1.1.jar slf4j-api-1.6.1.jar slf4j-log4j12-1.6.1.jar splat-som.jar lucene-core-2.9.2.jar lucene-queries-2.9.2.jar splat-manox.jar poi-3.7-20101029.jar poi-ooxml-3.7-20101029.jar xmlpublic.jar poi-ooxml-schemas-3.7-20101029.jar"/>
18 <zipfileset src="${converter.src.dir}/jar-in-jar-loader.zip"/>
19 <fileset dir="../SPlat/bin">
22 <zipfileset dir="../SPlat/${splat.lib.dir}">
23 <include name="*.jar"/>
25 <!--<zipfileset dir="../SPlat/${splat.lib.dir}" includes="mysql-connector-java-5.1.5-bin.jar"/>
26 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="hibernate-3.5.jar"/>
27 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="dom4j-1.6.1.jar"/>
28 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="log4j-1.2.15.jar"/>
29 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-kernel.jar"/>
30 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="commons-collections-3.1.jar"/>
31 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="antlr-2.7.6.jar"/>
32 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="javassist-3.9.0.GA.jar"/>
33 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="jta-1.1.jar"/>
34 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-api-1.6.1.jar"/>
35 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-log4j12-1.6.1.jar"/>
36 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-som.jar"/>
37 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-core-2.9.2.jar"/>
38 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-queries-2.9.2.jar"/>
39 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-manox.jar"/>
40 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-3.7-20101029.jar"/>
41 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-3.7-20101029.jar"/>
42 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="xmlpublic.jar"/>
43 <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-schemas-3.7-20101029.jar"/>-->
47 <!-- ================================================= -->
49 <!-- Clean the build directory -->
50 <!-- ================================================= -->
51 <target name="clean" description="clean the build directory">
52 <echo message="deleting files in ${splat.dist.dir}" />
53 <delete includeemptydirs="true" failonerror="false">
54 <fileset dir="${splat.dist.dir}" includes="**/*" />
56 <!-- <echo message="deleting files in ${splat.build.dir}" />
57 <delete includeemptydirs="true" failonerror="false">
58 <fileset dir="${splat.build.dir}" includes="**/*" />