Salome HOME
*** empty log message ***
[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 The examples of "# Connection properties" of release.properties for PostgreSQL and MySQL are provided correspondingly in the files release_pg.properties and release_mysql.properties.
28
29 4. Build SIMAN java libraries and web archive Siman-WS.war
30
31 - go to the directory SIMAN-WS
32 - adjust JDBC properties to required RDBMS (MySQL or PostgreSQL) in the file conf\release.properties
33 - adjust paths to ANT bin folder and JAVA_HOME in the file build-war.bat
34 - run script build-war.bat
35 - the result web archive SIMAN-WS.war is created in sub-directory dist
36
37 5. To build war files on Linux please create appropriate shell script file 
38 according to content of the file build-war.bat