]> SALOME platform Git repositories - tools/siman.git/blob
Salome HOME
6ea3c18fde54bb78af924265687c75fe5a7b59f9
[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         <!-- ================================================= -->
10         <!--    Build-Stub                                                                         -->
11         <!--    Build web services stubs project                           -->
12         <!-- ================================================= -->
13         <target name="build-stub"></target>
14         
15         <!-- ================================================= -->
16         <!--    Build-Dist                                                                         -->
17         <!--    Create the JAR distribution                                        -->
18         <!-- ================================================= -->
19         <target name="build-dist" depends="clean, build-stub" description="Builds the JAR distribution">
20                 <echo message="build ${common-jar.name}.jar"/>
21
22         <!--    <antcall target="compile-java">
23                 </antcall>-->
24                 
25                 <mkdir dir="${siman-common.dist.dir}" />
26                 <jar destfile="${siman-common.dist.dir}/${siman-common.jar.name}">
27                         <zipfileset dir="${siman-common.bin.dir}">
28                                 <include name="**" />
29                                 <exclude name="test" />
30                                 <exclude name="**/datasourceContextTomcat.xml" />
31                         </zipfileset>
32                         <manifest>
33                                 <attribute name="Built-By" value="${app.author}" />
34                                 <attribute name="Version" value="${app.version}" />
35                                 <attribute name="Built-Date" value="${timesimple}" />
36                         </manifest>
37                 </jar>
38 <!--            <jar destfile="${hewis-lib-common.dist.dir}/${hewis-lib-common.itf.jar.name}">
39                         <zipfileset dir="${build.classes.dir}">
40                                 <include name="**/*.properties" />
41                                 <include name="**/*Enum.class" />
42                                 <include name="**/*Utils.class" />
43                                 <include name="**/*Props.class" />
44                                 <include name="**/wsclient/dto/*DTO.class" />
45                                 <exclude name="test" />
46                         </zipfileset>
47                         <manifest>
48                                 <attribute name="Built-By" value="EURIWARE" />
49                                 <attribute name="Version" value="${app.version}" />
50                                 <attribute name="Built-Date" value="${timesimple}" />
51                         </manifest>
52                 </jar>-->
53         </target>
54
55         <target name="create_run_jar">
56                 <mkdir dir="${converter.dist.dir}" />
57         <jar destfile="${converter.dist.dir}/converter.jar">
58             <manifest>
59                 <attribute name="Main-Class" value="org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader"/>
60                 <attribute name="Rsrc-Main-Class" value="Test"/>
61                 <attribute name="Class-Path" value="."/>
62                 <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"/>
63             </manifest>
64             <zipfileset src="${converter.src.dir}/jar-in-jar-loader.zip"/>
65             <fileset dir="../SPlat/bin">
66                 <include name="*"/>
67             </fileset>
68             <zipfileset dir="../SPlat/${splat.lib.dir}">
69                 <include name="*.jar"/>
70             </zipfileset>
71                 <!--<zipfileset dir="../SPlat/${splat.lib.dir}" includes="mysql-connector-java-5.1.5-bin.jar"/>
72             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="hibernate-3.5.jar"/>
73             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="dom4j-1.6.1.jar"/>
74             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="log4j-1.2.15.jar"/>
75             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-kernel.jar"/>
76             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="commons-collections-3.1.jar"/>
77             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="antlr-2.7.6.jar"/>
78             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="javassist-3.9.0.GA.jar"/>
79             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="jta-1.1.jar"/>
80             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-api-1.6.1.jar"/>
81             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="slf4j-log4j12-1.6.1.jar"/>
82             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-som.jar"/>
83             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-core-2.9.2.jar"/>
84             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="lucene-queries-2.9.2.jar"/>
85             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="splat-manox.jar"/>
86             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-3.7-20101029.jar"/>
87             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-3.7-20101029.jar"/>
88             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="xmlpublic.jar"/>
89             <zipfileset dir="../SPlat/${splat.lib.dir}" includes="poi-ooxml-schemas-3.7-20101029.jar"/>-->
90         </jar>
91     </target>
92         
93         <!-- ================================================= -->
94         <!--    Clean                                                                              -->
95         <!--    Clean the build directory                                          -->
96         <!-- ================================================= -->
97         <target name="clean" description="clean the build directory">
98                 <echo message="deleting files in ${splat.dist.dir}" />
99                 <delete includeemptydirs="true" failonerror="false">
100                         <fileset dir="${splat.dist.dir}" includes="**/*" />
101                 </delete>
102 <!--            <echo message="deleting files in ${splat.build.dir}" />
103                 <delete includeemptydirs="true" failonerror="false">
104                         <fileset dir="${splat.build.dir}" includes="**/*" />
105                 </delete>-->
106         </target>
107 </project>