From 98767881b80da0152c190d4ccdeeccc0522fa14c Mon Sep 17 00:00:00 2001 From: rkv Date: Thu, 17 Jan 2013 12:41:49 +0000 Subject: [PATCH] Script to build WAR files from the command line. --- Workspace/SPlat/pre_build.xml | 60 +++++++++ Workspace/Siman-Common/pre_build.xml | 95 +++++++++++++++ Workspace/Siman-WS/build-war.bat | 3 +- Workspace/Siman-WS/build.properties | 2 +- Workspace/Siman-WS/pre_build.xml | 132 ++++++++++++++++++++ Workspace/Siman/build-war.bat | 3 +- Workspace/Siman/pre_build.xml | 176 +++++++++++++++++++++++++++ 7 files changed, 468 insertions(+), 3 deletions(-) create mode 100644 Workspace/SPlat/pre_build.xml create mode 100644 Workspace/Siman-Common/pre_build.xml create mode 100644 Workspace/Siman-WS/pre_build.xml create mode 100644 Workspace/Siman/pre_build.xml diff --git a/Workspace/SPlat/pre_build.xml b/Workspace/SPlat/pre_build.xml new file mode 100644 index 0000000..b068389 --- /dev/null +++ b/Workspace/SPlat/pre_build.xml @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman-Common/pre_build.xml b/Workspace/Siman-Common/pre_build.xml new file mode 100644 index 0000000..3d07e4f --- /dev/null +++ b/Workspace/Siman-Common/pre_build.xml @@ -0,0 +1,95 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman-WS/build-war.bat b/Workspace/Siman-WS/build-war.bat index 3c86175..ac19d47 100644 --- a/Workspace/Siman-WS/build-war.bat +++ b/Workspace/Siman-WS/build-war.bat @@ -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-WS/build.properties b/Workspace/Siman-WS/build.properties index 9dd89b5..89cace6 100644 --- a/Workspace/Siman-WS/build.properties +++ b/Workspace/Siman-WS/build.properties @@ -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 index 0000000..62a4a54 --- /dev/null +++ b/Workspace/Siman-WS/pre_build.xml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Workspace/Siman/build-war.bat b/Workspace/Siman/build-war.bat index 3c86175..ac19d47 100644 --- a/Workspace/Siman/build-war.bat +++ b/Workspace/Siman/build-war.bat @@ -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 index 0000000..6e04ff6 --- /dev/null +++ b/Workspace/Siman/pre_build.xml @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.39.2