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" />
9 <!-- ================================================= -->
10 <!-- build-stub: Build siman-stub.jar -->
11 <!-- ================================================= -->
12 <target name="build-stub" description="Build the hewis-stub.jar">
13 <!--<ant antfile="${hewis-stub.dir}/build.xml" target="build-stub-dist" inheritall="false">
14 <property name="project.dir" value="${project.dir}" />
15 <property name="compiler.debug" value="${compiler.debug}" />
16 <property name="compiler.generate.no.warnings" value="${compiler.generate.no.warnings}" />
17 <property name="compiler.max.memory" value="${compiler.max.memory}" />
18 <property name="compiler.optimize" value="${compiler.optimize}" />
19 <property name="compiler.deprecation" value="${compiler.deprecation}" />
23 <!-- ================================================= -->
24 <!-- splat: Build SPlat project -->
25 <!-- ================================================= -->
26 <target name="splat" description="Builds SPlat project">
27 <ant dir="../${splat.project.name}"/>
30 <!-- ================================================= -->
31 <!-- build-dist: Create the JAR distribution -->
32 <!-- ================================================= -->
33 <target name="build-dist" depends="clean, splat, build-stub" description="Builds the JAR distribution">
34 <echo message="build ${siman-common.jar.name}.jar"/>
36 <!-- <antcall target="compile-java">
39 <mkdir dir="${siman-common.dist.dir}" />
40 <jar destfile="${siman-common.dist.dir}/${siman-common.jar.name}">
41 <zipfileset dir="${siman-common.bin.dir}">
43 <exclude name="test" />
44 <exclude name="**/datasourceContextTomcat.xml" />
47 <attribute name="Built-By" value="${app.author}" />
48 <attribute name="Version" value="${app.version}" />
49 <attribute name="Built-Date" value="${timesimple}" />
52 <!-- <jar destfile="${hewis-lib-common.dist.dir}/${hewis-lib-common.itf.jar.name}">
53 <zipfileset dir="${build.classes.dir}">
54 <include name="**/*.properties" />
55 <include name="**/*Enum.class" />
56 <include name="**/*Utils.class" />
57 <include name="**/*Props.class" />
58 <include name="**/wsclient/dto/*DTO.class" />
59 <exclude name="test" />
62 <attribute name="Built-By" value="EURIWARE" />
63 <attribute name="Version" value="${app.version}" />
64 <attribute name="Built-Date" value="${timesimple}" />
69 <!-- ================================================= -->
70 <!-- clean: Clean the dist directory -->
71 <!-- ================================================= -->
72 <target name="clean" description="clean the build directory">
73 <echo message="deleting files in ${splat.dist.dir}" />
74 <delete includeemptydirs="true" failonerror="false">
75 <fileset dir="${splat.dist.dir}" includes="**/*" />