]> SALOME platform Git repositories - tools/siman.git/blob
Salome HOME
56910c3f345cbe63031ea4135cd30029c8d2eb62
[tools/siman.git] /
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    <target name="create_run_jar">
10                 <mkdir dir="${converter.dist.dir}" />
11         <jar destfile="${converter.dist.dir}/converter.jar">
12             <manifest>
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"/>
17             </manifest>
18             <zipfileset src="${converter.src.dir}/jar-in-jar-loader.zip"/>
19             <fileset dir="../SPlat/bin">
20                 <include name="*"/>
21             </fileset>
22             <zipfileset dir="../SPlat/${splat.lib.dir}">
23                 <include name="*.jar"/>
24             </zipfileset>
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"/>-->
44         </jar>
45     </target>
46         
47         <!-- ================================================= -->
48         <!--    Clean                                                                              -->
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="**/*" />
55                 </delete>
56 <!--            <echo message="deleting files in ${splat.build.dir}" />
57                 <delete includeemptydirs="true" failonerror="false">
58                         <fileset dir="${splat.build.dir}" includes="**/*" />
59                 </delete>-->
60         </target>
61 </project>