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" />
9 <!-- ================================================= -->
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}" />
24 <!-- ================================================= -->
26 <!-- Create the JAR distribution -->
27 <!-- ================================================= -->
28 <target name="build-dist" depends="clean, build-stub" description="Builds the JAR distribution">
29 <echo message="build ${common-jar.name}.jar"/>
31 <!-- <antcall target="compile-java">
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}">
38 <exclude name="test" />
39 <exclude name="**/datasourceContextTomcat.xml" />
42 <attribute name="Built-By" value="${app.author}" />
43 <attribute name="Version" value="${app.version}" />
44 <attribute name="Built-Date" value="${timesimple}" />
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" />
57 <attribute name="Built-By" value="EURIWARE" />
58 <attribute name="Version" value="${app.version}" />
59 <attribute name="Built-Date" value="${timesimple}" />
64 <!-- ================================================= -->
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="**/*" />