From: rkv Date: Thu, 17 Jan 2013 13:08:04 +0000 (+0000) Subject: Readme file about building WAR files from command line. X-Git-Tag: Root_Delivery2_2013_04_22~176 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cc289d6b88ee328e886d932c8641f005c977f3c1;p=tools%2Fsiman.git Readme file about building WAR files from command line. --- diff --git a/Workspace/README b/Workspace/README new file mode 100644 index 0000000..1d12827 --- /dev/null +++ b/Workspace/README @@ -0,0 +1,37 @@ +How to build SIMAN java libraries and web archives (siman.war and Siman-WS.war) + +1. Download and Install ant as described here + +http://ant.apache.org/manual/install.html + + +for example, apache-ant-1.8.4-bin.zip + +Make sure you have a Java environment installed (jdk 1.6.0) + + +2. Take from SIMAN Java source codes from SIMAN CVS repository like this + + +cvs -d :pserver:bri@cvs.opencascade.com:/home/server/cvs/SIMAN checkout SIMAN_SRC + + +3. Build SIMAN java libraries and web archive siman.war + +- go to the directory SIMAN +- adjust JDBC properties to required RDBMS (MySQL or PostgreSQL) in the file conf\release.properties +- adjust paths to ANT bin folder and JAVA_HOME in the file build-war.bat +- run script build-war.bat +- the result web archive siman.war is created in sub-directory dist + + +4. Build SIMAN java libraries and web archive Siman-WS.war + +- go to the directory SIMAN-WS +- adjust JDBC properties to required RDBMS (MySQL or PostgreSQL) in the file conf\release.properties +- adjust paths to ANT bin folder and JAVA_HOME in the file build-war.bat +- run script build-war.bat +- the result web archive SIMAN-WS.war is created in sub-directory dist + +5. To build war files on Linux please create appropriate shell script file +according to content of the file build-war.bat \ No newline at end of file