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