]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/.metadata/.plugins/org.eclipse.core.resources/.history/24/f090560d2003001210aca2509c1ad977
Salome HOME
SIMAN Eclipse workspace first version
[tools/siman.git] / Workspace / .metadata / .plugins / org.eclipse.core.resources / .history / 24 / f090560d2003001210aca2509c1ad977
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         <!--    SPlat                                                                              -->
26         <!--    Build SPlat project                                                        -->
27         <!-- ================================================= -->
28         <target name="splat" description="Builds SPlat project">
29                 <ant dir="../${splat.project.name}"/>
30         </target>
31         
32         <!-- ================================================= -->
33         <!--    Build-Dist                                                                         -->
34         <!--    Create the JAR distribution                                        -->
35         <!-- ================================================= -->
36         <target name="build-dist" depends="clean, build-stub" description="Builds the JAR distribution">
37                 <echo message="build ${siman-common.jar.name}.jar"/>
38
39         <!--    <antcall target="compile-java">
40                 </antcall>-->
41                 
42                 <mkdir dir="${siman-common.dist.dir}" />
43                 <jar destfile="${siman-common.dist.dir}/${siman-common.jar.name}">
44                         <zipfileset dir="${siman-common.bin.dir}">
45                                 <include name="**" />
46                                 <exclude name="test" />
47                                 <exclude name="**/datasourceContextTomcat.xml" />
48                         </zipfileset>
49                         <manifest>
50                                 <attribute name="Built-By" value="${app.author}" />
51                                 <attribute name="Version" value="${app.version}" />
52                                 <attribute name="Built-Date" value="${timesimple}" />
53                         </manifest>
54                 </jar>
55 <!--            <jar destfile="${hewis-lib-common.dist.dir}/${hewis-lib-common.itf.jar.name}">
56                         <zipfileset dir="${build.classes.dir}">
57                                 <include name="**/*.properties" />
58                                 <include name="**/*Enum.class" />
59                                 <include name="**/*Utils.class" />
60                                 <include name="**/*Props.class" />
61                                 <include name="**/wsclient/dto/*DTO.class" />
62                                 <exclude name="test" />
63                         </zipfileset>
64                         <manifest>
65                                 <attribute name="Built-By" value="EURIWARE" />
66                                 <attribute name="Version" value="${app.version}" />
67                                 <attribute name="Built-Date" value="${timesimple}" />
68                         </manifest>
69                 </jar>-->
70         </target>
71
72         <!-- ================================================= -->
73         <!--    Clean                                                                              -->
74         <!--    Clean the dist directory                                           -->
75         <!-- ================================================= -->
76         <target name="clean" description="clean the build directory">
77                 <echo message="deleting files in ${splat.dist.dir}" />
78                 <delete includeemptydirs="true" failonerror="false">
79                         <fileset dir="${splat.dist.dir}" includes="**/*" />
80                 </delete>
81         </target>
82 </project>