Salome HOME
jQuery UI is used to display message about checked out files.
[tools/siman.git] / Workspace / Converter / build.xml
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" />
8
9     <property file="../${siman-common.project.name}/build.properties" description="set the build parameters" />
10     <property file="../${splat.project.name}/build.properties" description="set the build parameters" />
11
12     <!-- ================================================= -->
13     <!--    siman-common: Build Siman-Common project       -->
14     <!-- ================================================= -->
15     <target name="siman-common" description="Builds Siman-Common project">
16         <ant dir="../${siman-common.project.name}" />
17     </target>
18
19         <!-- ================================================= -->
20         <!--    create_run_jar: Build the converter Jar            -->
21         <!-- ================================================= -->
22         <target name="create_run_jar" depends="siman-common" description="Build the converter Jar">
23                 <mkdir dir="${converter.dist.dir}" />
24                 <jar destfile="${converter.dist.dir}/converter.jar">
25                         <manifest>
26                                 <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader" />
27                                 <attribute name="Rsrc-Main-Class" value="Test" />
28                                 <attribute name="Class-Path" value="." />
29                                 <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" />
30                         </manifest>
31                         <zipfileset src="${converter.src.dir}/jar-in-jar-loader.zip" />
32                         <fileset dir="../SPlat/${splat.bin.dir}">
33                                 <include name="*" />
34                         </fileset>
35                         <zipfileset dir="../SPlat/${splat.lib.dir}">
36                                 <include name="*.jar" />
37                         </zipfileset>
38                         <!--<zipfileset dir="../SPlat/${splat.lib.dir}" includes="mysql-connector-java-5.1.5-bin.jar"/>
39             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="hibernate-3.5.jar"/>
40             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="dom4j-1.6.1.jar"/>
41             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="log4j-1.2.15.jar"/>
42             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-kernel.jar"/>
43             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="commons-collections-3.1.jar"/>
44             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="antlr-2.7.6.jar"/>
45             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="javassist-3.9.0.GA.jar"/>
46             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="jta-1.1.jar"/>
47             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-api-1.6.1.jar"/>
48             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-log4j12-1.6.1.jar"/>
49             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-som.jar"/>
50             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-core-2.9.2.jar"/>
51             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-queries-2.9.2.jar"/>
52             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-manox.jar"/>
53             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-3.7-20101029.jar"/>
54             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-3.7-20101029.jar"/>
55             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="xmlpublic.jar"/>
56             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-schemas-3.7-20101029.jar"/>-->
57                 </jar>
58         </target>
59
60         <!-- ================================================= -->
61         <!--    clean: Clean the dist directory                            -->
62         <!-- ================================================= -->
63         <target name="clean" description="clean the build directory">
64                 <echo message="deleting files in ${splat.dist.dir}" />
65                 <delete includeemptydirs="true" failonerror="false">
66                         <fileset dir="${splat.dist.dir}" includes="**/*" />
67                 </delete>
68         </target>
69 </project>