Salome HOME
906e0d08b83989b724c19cae08e9eb8875b5ac81
[tools/siman.git] / Workspace / .metadata / .plugins / org.eclipse.core.resources / .history / 44 / 109e31d31f03001210aca2509c1ad977
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <project default="build-dist" name="SIMAN Common Jar 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 siman-stub.jar                                               -->
12         <!-- ================================================= -->
13         <target name="build-stub" description="Build the hewis-stub.jar">
14                 <!--<ant antfile="${hewis-stub.dir}/build.xml" target="build-stub-dist" inheritall="false">
15                         <property name="project.dir" value="${project.dir}" />
16                         <property name="compiler.debug" value="${compiler.debug}" />
17                         <property name="compiler.generate.no.warnings" value="${compiler.generate.no.warnings}" />
18                         <property name="compiler.max.memory" value="${compiler.max.memory}" />
19                         <property name="compiler.optimize" value="${compiler.optimize}" />
20                         <property name="compiler.deprecation" value="${compiler.deprecation}" />
21                 </ant>-->
22         </target>
23         
24         <!-- ================================================= -->
25         <!--    Build-Dist                                                                         -->
26         <!--    Create the JAR distribution                                        -->
27         <!-- ================================================= -->
28         <target name="build-dist" depends="clean, build-stub" description="Builds the JAR distribution">
29                 <echo message="build ${siman-common.jar.name}.jar"/>
30
31         <!--    <antcall target="compile-java">
32                 </antcall>-->
33                 
34                 <mkdir dir="${siman-common.dist.dir}" />
35                 <jar destfile="${siman-common.dist.dir}/${siman-common.jar.name}">
36                         <zipfileset dir="${siman-common.bin.dir}">
37                                 <include name="**" />
38                                 <exclude name="test" />
39                                 <exclude name="**/datasourceContextTomcat.xml" />
40                         </zipfileset>
41                         <manifest>
42                                 <attribute name="Built-By" value="${app.author}" />
43                                 <attribute name="Version" value="${app.version}" />
44                                 <attribute name="Built-Date" value="${timesimple}" />
45                         </manifest>
46                 </jar>
47 <!--            <jar destfile="${hewis-lib-common.dist.dir}/${hewis-lib-common.itf.jar.name}">
48                         <zipfileset dir="${build.classes.dir}">
49                                 <include name="**/*.properties" />
50                                 <include name="**/*Enum.class" />
51                                 <include name="**/*Utils.class" />
52                                 <include name="**/*Props.class" />
53                                 <include name="**/wsclient/dto/*DTO.class" />
54                                 <exclude name="test" />
55                         </zipfileset>
56                         <manifest>
57                                 <attribute name="Built-By" value="EURIWARE" />
58                                 <attribute name="Version" value="${app.version}" />
59                                 <attribute name="Built-Date" value="${timesimple}" />
60                         </manifest>
61                 </jar>-->
62         </target>
63
64         <!-- ================================================= -->
65         <!--    Clean                                                                              -->
66         <!--    Clean the build directory                                          -->
67         <!-- ================================================= -->
68         <target name="clean" description="clean the build directory">
69                 <echo message="deleting files in ${splat.dist.dir}" />
70                 <delete includeemptydirs="true" failonerror="false">
71                         <fileset dir="${splat.dist.dir}" includes="**/*" />
72                 </delete>
73         </target>
74 </project>