]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Script to build WAR files from the command line.
authorrkv <rkv@opencascade.com>
Thu, 17 Jan 2013 12:41:49 +0000 (12:41 +0000)
committerrkv <rkv@opencascade.com>
Thu, 17 Jan 2013 12:41:49 +0000 (12:41 +0000)
Workspace/SPlat/pre_build.xml [new file with mode: 0644]
Workspace/Siman-Common/pre_build.xml [new file with mode: 0644]
Workspace/Siman-WS/build-war.bat
Workspace/Siman-WS/build.properties
Workspace/Siman-WS/pre_build.xml [new file with mode: 0644]
Workspace/Siman/build-war.bat
Workspace/Siman/pre_build.xml [new file with mode: 0644]

diff --git a/Workspace/SPlat/pre_build.xml b/Workspace/SPlat/pre_build.xml
new file mode 100644 (file)
index 0000000..b068389
--- /dev/null
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Build java classes and copy other files from src -->
+<project basedir="." default="build" name="SPlat">
+    <property environment="env"/>
+    <property name="Siman.location" value="../Siman"/>
+    <property name="Siman-Common.location" value="../Siman-Common"/>
+    <property name="debuglevel" value="source,lines,vars"/>
+    <property name="target" value="1.6"/>
+    <property name="source" value="1.6"/>
+    <path id="EAR Libraries.libraryclasspath"/>
+    <path id="SPlat.classpath">
+        <pathelement location="bin"/>
+        <pathelement location="lib/activation.jar"/>
+        <pathelement location="lib/antlr-2.7.6.jar"/>
+        <pathelement location="lib/commons-collections-3.1.jar"/>
+        <pathelement location="lib/dom4j-1.6.1.jar"/>
+        <pathelement location="lib/jta-1.1.jar"/>
+        <pathelement location="lib/log4j-1.2.15.jar"/>
+        <pathelement location="lib/lucene-core-2.9.2.jar"/>
+        <pathelement location="lib/lucene-queries-2.9.2.jar"/>
+        <pathelement location="lib/mailapi.jar"/>
+        <pathelement location="lib/poi-3.7-20101029.jar"/>
+        <pathelement location="lib/poi-ooxml-3.7-20101029.jar"/>
+        <pathelement location="lib/poi-ooxml-schemas-3.7-20101029.jar"/>
+        <pathelement location="lib/poi-scratchpad-3.7-20101029.jar"/>
+        <pathelement location="lib/pop3.jar"/>
+        <pathelement location="lib/slf4j-api-1.6.1.jar"/>
+        <pathelement location="lib/slf4j-log4j12-1.6.1.jar"/>
+        <pathelement location="lib/smtp.jar"/>
+        <pathelement location="lib/xmlpublic.jar"/>
+        <pathelement location="lib/javassist-3.11.0.GA.jar"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+    </path>
+    <target name="init">
+        <mkdir dir="bin"/>
+        <copy includeemptydirs="false" todir="bin">
+            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
+        </copy>
+    </target>
+    <target name="clean">
+        <delete dir="bin"/>
+    </target>
+    <target depends="clean" name="cleanall"/>
+    <target depends="build-subprojects,build-project" name="build"/>
+    <target name="build-subprojects"/>
+    <target depends="init" name="build-project">
+        <echo message="${ant.project.name}: ${ant.file}"/>
+        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
+            <src path="src"/>
+            <exclude name="**/CVS/*"/>
+            <classpath refid="SPlat.classpath"/>
+        </javac>
+    </target>
+    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
+        <ant antfile="${Siman.location}/pre_build.xml" inheritAll="false" target="clean"/>
+        <ant antfile="${Siman.location}/pre_build.xml" inheritAll="false" target="build"/>
+        <ant antfile="${Siman-Common.location}/pre_build.xml" inheritAll="false" target="clean"/>
+        <ant antfile="${Siman-Common.location}/pre_build.xml" inheritAll="false" target="build"/>
+    </target>
+</project>
diff --git a/Workspace/Siman-Common/pre_build.xml b/Workspace/Siman-Common/pre_build.xml
new file mode 100644 (file)
index 0000000..3d07e4f
--- /dev/null
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Build java classes and copy other files from src -->
+<project basedir="." default="build" name="Siman-Common">
+    <property environment="env"/>
+    <property name="SPlat.location" value="../SPlat"/>
+    <property name="Siman.location" value="../Siman"/>
+    <property name="debuglevel" value="source,lines,vars"/>
+    <property name="target" value="1.6"/>
+    <property name="source" value="1.6"/>
+    <path id="EAR Libraries.libraryclasspath"/>
+    <path id="SPlat.classpath">
+        <pathelement location="${SPlat.location}/bin"/>
+        <pathelement location="${SPlat.location}/lib/activation.jar"/>
+        <pathelement location="${SPlat.location}/lib/antlr-2.7.6.jar"/>
+        <pathelement location="${SPlat.location}/lib/commons-collections-3.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/dom4j-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/jta-1.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/log4j-1.2.15.jar"/>
+        <pathelement location="${SPlat.location}/lib/lucene-core-2.9.2.jar"/>
+        <pathelement location="${SPlat.location}/lib/lucene-queries-2.9.2.jar"/>
+        <pathelement location="${SPlat.location}/lib/mailapi.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-ooxml-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-ooxml-schemas-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-scratchpad-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/pop3.jar"/>
+        <pathelement location="${SPlat.location}/lib/slf4j-api-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/slf4j-log4j12-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/smtp.jar"/>
+        <pathelement location="${SPlat.location}/lib/xmlpublic.jar"/>
+        <pathelement location="${SPlat.location}/lib/javassist-3.11.0.GA.jar"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+    </path>
+    <path id="Siman-Common.classpath">
+        <pathelement location="bin"/>
+        <path refid="SPlat.classpath"/>
+        <pathelement location="${SPlat.location}/dist/splat-manox.jar"/>
+        <pathelement location="lib/org.springframework.aop-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.asm-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.aspects-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.beans-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.context.support-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.context-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.core-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.expression-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.instrument.tomcat-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.instrument-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.jms-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.orm-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.oxm-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.test-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.transaction-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.web.portlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.web.struts-3.1.2.RELEASE.jar"/>
+        <pathelement location="lib/org.springframework.web-3.1.2.RELEASE.jar"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+        <pathelement location="lib/aopalliance.jar"/>
+        <pathelement location="dist/siman-common.jar"/>
+        <pathelement location="lib/testng-6.8.jar"/>
+        <pathelement location="lib/commons-logging-1.1.1.jar"/>
+        <pathelement location="lib/beanlib-5.0.1beta.jar"/>
+        <pathelement location="lib/hibernate-3.5.jar"/>
+        <pathelement location="lib/mysql-connector-java-5.1.5-bin.jar"/>
+    </path>
+    <target name="init">
+        <mkdir dir="bin"/>
+        <copy includeemptydirs="false" todir="bin">
+            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
+        </copy>
+    </target>
+    <target name="clean">
+        <delete dir="bin"/>
+    </target>
+    <target depends="clean" name="cleanall">
+        <ant antfile="${SPlat.location}/pre_build.xml" inheritAll="false" target="clean"/>
+    </target>
+    <target depends="build-subprojects,build-project" name="build"/>
+    <target name="build-subprojects">
+        <ant antfile="${SPlat.location}/pre_build.xml" inheritAll="false" target="build-project"/>
+    </target>
+    <target depends="init" name="build-project">
+        <echo message="${ant.project.name}: ${ant.file}"/>
+        <javac debug="true" debuglevel="${debuglevel}" destdir="bin" source="${source}" target="${target}">
+            <src path="src"/>
+            <exclude name="**/CVS/*"/>
+            <classpath refid="Siman-Common.classpath"/>
+        </javac>
+    </target>
+    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects">
+        <ant antfile="${Siman.location}/pre_build.xml" inheritAll="false" target="clean"/>
+        <ant antfile="${Siman.location}/pre_build.xml" inheritAll="false" target="build"/>
+    </target>
+</project>
index 3c86175a9588349c2d7dd88aa690a351482e4be0..ac19d4779da2b22eaf074699a0c4638db01aa55e 100644 (file)
@@ -2,4 +2,5 @@ set ANT_BIN=D:\Programs\apache-ant-1.8.4\bin
 set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_27
 
 set PATH=%PATH%;%ANT_BIN%
-ant build-war
+
+ant -f pre_build.xml && ant build-war
index 9dd89b594125db7dcc626092f7188b4897b8d7c3..89cace608a9ef2c6ecd5b235b3cc6c759523a04c 100644 (file)
@@ -1,7 +1,7 @@
 siman-ws.src.dir=src
 siman-ws.bin.dir=build
 siman-ws.dist.dir=dist
-webapp.name=siman-ws
+webapp.name=Siman-WS
 siman-ws.content.dir=WebContent
 siman-common.project.name=Siman-Common
 splat.project.name=SPlat
diff --git a/Workspace/Siman-WS/pre_build.xml b/Workspace/Siman-WS/pre_build.xml
new file mode 100644 (file)
index 0000000..62a4a54
--- /dev/null
@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Build java classes and copy other files from src -->
+<project basedir="." default="build" name="Siman-WS">
+    <property environment="env"/>
+    <property name="Siman-Common.location" value="../Siman-Common"/>
+    <property name="debuglevel" value="source,lines,vars"/>
+    <property name="target" value="1.6"/>
+    <property name="source" value="1.6"/>
+    <path id="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath">
+        <pathelement location="../Siman-Common/ext/servlet-api.jar"/>
+    </path>
+    <path id="Web App Libraries.libraryclasspath">
+        <pathelement location="../Siman-Common/lib/aopalliance.jar"/>
+        <pathelement location="../Siman-Common/lib/beanlib-5.0.1beta.jar"/>
+        <pathelement location="../Siman-Common/lib/commons-logging-1.1.1.jar"/>
+        <pathelement location="../Siman-Common/lib/hibernate-3.5.jar"/>
+        <pathelement location="../Siman-Common/lib/cglib-nodep-2.2.3.jar"/>
+        <pathelement location="../Siman-Common/lib/postgresql-9.1-901.jdbc4.jar"/>
+        <pathelement location="../Siman-Common/lib/mysql-connector-java-5.1.5-bin.jar"/>
+        <pathelement location="../SPlat/lib/lucene-core-2.9.2.jar"/>
+        <pathelement location="../SPlat/lib/javassist-3.11.0.GA.jar"/>
+        <pathelement location="../SPlat/lib/pop3.jar"/>
+        <pathelement location="../SPlat/lib/antlr-2.7.6.jar"/>
+        <pathelement location="../SPlat/lib/poi-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/lucene-queries-2.9.2.jar"/>
+        <pathelement location="../SPlat/lib/log4j-1.2.15.jar"/>
+        <pathelement location="../SPlat/lib/dom4j-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/poi-scratchpad-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/commons-collections-3.1.jar"/>
+        <pathelement location="../SPlat/lib/smtp.jar"/>
+        <pathelement location="../SPlat/lib/xmlpublic.jar"/>
+        <pathelement location="../SPlat/dist/splat-manox.jar"/>
+        <pathelement location="../SPlat/lib/jta-1.1.jar"/>
+        <pathelement location="../SPlat/lib/mailapi.jar"/>
+        <pathelement location="../SPlat/lib/poi-ooxml-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/slf4j-api-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/slf4j-log4j12-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/activation.jar"/>
+        <pathelement location="../SPlat/lib/poi-ooxml-schemas-3.7-20101029.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/XmlSchema-1.4.7.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/activation-1.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/antlr-2.7.7.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axiom-api-1.2.13.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axiom-dom-1.2.13.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axiom-impl-1.2.13.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-adb-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-adb-codegen-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-ant-plugin-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-clustering-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-codegen-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-corba-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-fastinfoset-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-java2wsdl-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-jaxbri-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-jaxws-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-jibx-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-json-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-kernel-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-metadata-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-mtompolicy-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-saaj-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-soapmonitor-servlet-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-spring-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-transport-http-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-transport-local-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/axis2-xmlbeans-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-cli-1.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-codec-1.3.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-fileupload-1.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-httpclient-3.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-io-1.4.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/geronimo-stax-api_1.0_spec-1.0.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/httpcore-4.0.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/mail-1.4.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/neethi-3.0.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/woden-api-1.0M9.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/woden-impl-commons-1.0M9.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/woden-impl-dom-1.0M9.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/wsdl4j-1.6.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/wstx-asl-3.2.9.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/xmlbeans-2.3.0.jar"/>
+        <pathelement location="WebContent/WEB-INF/classes"/>
+    </path>
+    <path id="EAR Libraries.libraryclasspath"/>
+    <path id="Siman-WS.classpath">
+        <pathelement location="build/classes"/>
+        <path refid="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath"/>
+        <path refid="Web App Libraries.libraryclasspath"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+        <pathelement location="${Siman-Common.location}/dist/siman-common.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.aop-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.asm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.aspects-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.beans-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.context-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.context.support-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.core-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.expression-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.instrument-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.instrument.tomcat-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.jms-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.orm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.oxm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.test-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.transaction-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.portlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.struts-3.1.2.RELEASE.jar"/>
+    </path>
+    <target name="init">
+        <mkdir dir="build/classes"/>
+        <copy includeemptydirs="false" todir="build/classes">
+            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
+        </copy>
+    </target>
+    <target name="clean">
+        <delete dir="build/classes"/>
+    </target>
+    <target depends="clean" name="cleanall"/>
+    <target depends="build-subprojects,build-project" name="build"/>
+    <target name="build-subprojects"/>
+    <target depends="init" name="build-project">
+        <echo message="${ant.project.name}: ${ant.file}"/>
+        <javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" source="${source}" target="${target}">
+            <src path="src"/>
+            <classpath refid="Siman-WS.classpath"/>
+        </javac>
+    </target>
+    <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>
+</project>
index 3c86175a9588349c2d7dd88aa690a351482e4be0..ac19d4779da2b22eaf074699a0c4638db01aa55e 100644 (file)
@@ -2,4 +2,5 @@ set ANT_BIN=D:\Programs\apache-ant-1.8.4\bin
 set JAVA_HOME=D:\Program Files\Java\jdk1.6.0_27
 
 set PATH=%PATH%;%ANT_BIN%
-ant build-war
+
+ant -f pre_build.xml && ant build-war
diff --git a/Workspace/Siman/pre_build.xml b/Workspace/Siman/pre_build.xml
new file mode 100644 (file)
index 0000000..6e04ff6
--- /dev/null
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Build java classes and copy other files from src -->
+<project basedir="." default="build" name="Siman">
+    <property environment="env"/>
+    <property name="Siman-Common.location" value="../Siman-Common"/>
+    <property name="SPlat.location" value="../SPlat"/>
+    <property name="debuglevel" value="source,lines,vars"/>
+    <property name="target" value="1.6"/>
+    <property name="source" value="1.6"/>
+    <path id="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath">
+        <pathelement location="../Siman-Common/ext/servlet-api.jar"/>
+    </path>
+    <path id="EAR Libraries.libraryclasspath"/>
+    <path id="Web App Libraries.libraryclasspath">
+        <pathelement location="../Siman-Common/lib/org.springframework.aop-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.asm-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.aspects-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.beans-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.context.support-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.context-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.core-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.expression-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.instrument.tomcat-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.instrument-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.jms-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.orm-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.oxm-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.test-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.transaction-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.web.portlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.web.struts-3.1.2.RELEASE.jar"/>
+        <pathelement location="../Siman-Common/lib/org.springframework.web-3.1.2.RELEASE.jar"/>
+        <pathelement location="../SPlat/lib/activation.jar"/>
+        <pathelement location="../SPlat/lib/antlr-2.7.6.jar"/>
+        <pathelement location="../SPlat/lib/commons-collections-3.1.jar"/>
+        <pathelement location="../SPlat/lib/dom4j-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/javassist-3.11.0.GA.jar"/>
+        <pathelement location="../SPlat/lib/jta-1.1.jar"/>
+        <pathelement location="../SPlat/lib/log4j-1.2.15.jar"/>
+        <pathelement location="../SPlat/lib/lucene-core-2.9.2.jar"/>
+        <pathelement location="../SPlat/lib/lucene-queries-2.9.2.jar"/>
+        <pathelement location="../SPlat/lib/mailapi.jar"/>
+        <pathelement location="../SPlat/lib/poi-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/poi-ooxml-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/poi-ooxml-schemas-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/poi-scratchpad-3.7-20101029.jar"/>
+        <pathelement location="../SPlat/lib/pop3.jar"/>
+        <pathelement location="../SPlat/lib/slf4j-api-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/slf4j-log4j12-1.6.1.jar"/>
+        <pathelement location="../SPlat/lib/smtp.jar"/>
+        <pathelement location="../SPlat/lib/xmlpublic.jar"/>
+        <pathelement location="../SPlat/dist/splat-manox.jar"/>
+        <pathelement location="../Siman-Common/lib/aopalliance.jar"/>
+        <pathelement location="../Siman-Common/lib/cglib-nodep-2.2.3.jar"/>
+        <pathelement location="../Siman-Common/lib/commons-logging-1.1.1.jar"/>
+        <pathelement location="../Siman-Common/lib/beanlib-5.0.1beta.jar"/>
+        <pathelement location="../Siman-Common/lib/hibernate-3.5.jar"/>
+        <pathelement location="../Siman-Common/lib/mysql-connector-java-5.1.5-bin.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/activemq-core-5.5.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-beanutils-1.8.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-beanutils-core-1.8.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-dbcp-1.4.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-digester-1.8.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-fileupload-1.2.2.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-io-2.0.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-lang3-3.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-logging-1.1.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-logging-api-1.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/commons-validator-1.3.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/freemarker-2.3.19.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/javax.jms.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/jsonplugin-0.34.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/ognl-3.0.5.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/struts2-core-2.3.4.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/struts2-spring-plugin-2.3.4.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/struts2-tiles-plugin-2.3.4.1.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/tiles-api-2.0.6.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/tiles-core-2.0.6.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/tiles-jsp-2.0.6.jar"/>
+        <pathelement location="WebContent/WEB-INF/lib/xwork-core-2.3.4.1.jar"/>
+    </path>
+    <path id="SPlat.classpath">
+        <pathelement location="${SPlat.location}/bin"/>
+        <pathelement location="${SPlat.location}/lib/activation.jar"/>
+        <pathelement location="${SPlat.location}/lib/antlr-2.7.6.jar"/>
+        <pathelement location="${SPlat.location}/lib/commons-collections-3.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/dom4j-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/jta-1.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/log4j-1.2.15.jar"/>
+        <pathelement location="${SPlat.location}/lib/lucene-core-2.9.2.jar"/>
+        <pathelement location="${SPlat.location}/lib/lucene-queries-2.9.2.jar"/>
+        <pathelement location="${SPlat.location}/lib/mailapi.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-ooxml-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-ooxml-schemas-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/poi-scratchpad-3.7-20101029.jar"/>
+        <pathelement location="${SPlat.location}/lib/pop3.jar"/>
+        <pathelement location="${SPlat.location}/lib/slf4j-api-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/slf4j-log4j12-1.6.1.jar"/>
+        <pathelement location="${SPlat.location}/lib/smtp.jar"/>
+        <pathelement location="${SPlat.location}/lib/xmlpublic.jar"/>
+        <pathelement location="${SPlat.location}/lib/javassist-3.11.0.GA.jar"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+    </path>
+    <path id="Siman-Common.classpath">
+        <pathelement location="${Siman-Common.location}/bin"/>
+        <path refid="SPlat.classpath"/>
+        <pathelement location="${SPlat.location}/dist/splat-manox.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.aop-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.asm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.aspects-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.beans-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.context.support-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.context-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.core-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.expression-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.instrument.tomcat-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.instrument-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.jdbc-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.jms-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.orm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.oxm-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.test-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.transaction-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.portlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.servlet-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web.struts-3.1.2.RELEASE.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/org.springframework.web-3.1.2.RELEASE.jar"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+        <pathelement location="${Siman-Common.location}/lib/aopalliance.jar"/>
+        <pathelement location="${Siman-Common.location}/dist/siman-common.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/testng-6.8.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/commons-logging-1.1.1.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/beanlib-5.0.1beta.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/hibernate-3.5.jar"/>
+        <pathelement location="${Siman-Common.location}/lib/mysql-connector-java-5.1.5-bin.jar"/>
+    </path>
+    <path id="Siman.classpath">
+        <pathelement location="build/classes"/>
+        <path refid="Apache Tomcat v6.0 [Apache Tomcat v6.0].libraryclasspath"/>
+        <path refid="EAR Libraries.libraryclasspath"/>
+        <path refid="Web App Libraries.libraryclasspath"/>
+        <path refid="Siman-Common.classpath"/>
+        <path refid="SPlat.classpath"/>
+        <pathelement location="${Siman-Common.location}/dist/siman-common.jar"/>
+    </path>
+    <target name="init">
+        <mkdir dir="build/classes"/>
+        <copy includeemptydirs="false" todir="build/classes">
+            <fileset dir="src" excludes="**/*.launch, **/*.java"/>
+        </copy>
+    </target>
+    <target name="clean">
+        <delete dir="build/classes"/>
+    </target>
+    <target depends="clean" name="cleanall">
+        <ant antfile="${SPlat.location}/pre_build.xml" inheritAll="false" target="clean"/>
+        <ant antfile="${Siman-Common.location}/pre_build.xml" inheritAll="false" target="clean"/>
+    </target>
+    <target depends="build-subprojects,build-project" name="build"/>
+    <target name="build-subprojects">
+        <ant antfile="${SPlat.location}/pre_build.xml" inheritAll="false" target="build-project"/>
+        <ant antfile="${Siman-Common.location}/pre_build.xml" inheritAll="false" target="build-project"/>
+    </target>
+    <target depends="init" name="build-project">
+        <echo message="${ant.project.name}: ${ant.file}"/>
+        <javac debug="true" debuglevel="${debuglevel}" destdir="build/classes" source="${source}" target="${target}">
+            <src path="src"/>
+            <exclude name="**/CVS/*"/>
+            <classpath refid="Siman.classpath"/>
+        </javac>
+    </target>
+</project>