From: rkv Date: Thu, 17 Jan 2013 12:41:49 +0000 (+0000) Subject: Script to build WAR files from the command line. X-Git-Tag: Root_Delivery2_2013_04_22~177 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=98767881b80da0152c190d4ccdeeccc0522fa14c;p=tools%2Fsiman.git Script to build WAR files from the command line. --- 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +