Salome HOME
Readme file about building WAR files from command line.
[tools/siman.git] / Workspace / README
1 How to build SIMAN java libraries and web archives (siman.war and Siman-WS.war)
2
3 1. Download and Install ant as described here
4
5 http://ant.apache.org/manual/install.html
6
7  
8 for example, apache-ant-1.8.4-bin.zip
9
10 Make sure you have a Java environment installed (jdk 1.6.0)
11
12  
13 2. Take from SIMAN Java source codes from SIMAN CVS repository like this
14
15
16 cvs -d :pserver:bri@cvs.opencascade.com:/home/server/cvs/SIMAN checkout  SIMAN_SRC
17
18
19 3. Build SIMAN java libraries and web archive siman.war
20
21 - go to the directory SIMAN
22 - adjust JDBC properties to required RDBMS (MySQL or PostgreSQL) in the file conf\release.properties
23 - adjust paths to ANT bin folder and JAVA_HOME in the file build-war.bat
24 - run script build-war.bat
25 - the result web archive siman.war is created in sub-directory dist
26
27
28 4. Build SIMAN java libraries and web archive Siman-WS.war
29
30 - go to the directory SIMAN-WS
31 - adjust JDBC properties to required RDBMS (MySQL or PostgreSQL) in the file conf\release.properties
32 - adjust paths to ANT bin folder and JAVA_HOME in the file build-war.bat
33 - run script build-war.bat
34 - the result web archive SIMAN-WS.war is created in sub-directory dist
35
36 5. To build war files on Linux please create appropriate shell script file 
37 according to content of the file build-war.bat