Salome HOME
Readme file about building WAR files from command line.
authorrkv <rkv@opencascade.com>
Thu, 17 Jan 2013 13:08:04 +0000 (13:08 +0000)
committerrkv <rkv@opencascade.com>
Thu, 17 Jan 2013 13:08:04 +0000 (13:08 +0000)
Workspace/README [new file with mode: 0644]

diff --git a/Workspace/README b/Workspace/README
new file mode 100644 (file)
index 0000000..1d12827
--- /dev/null
@@ -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