Salome HOME
updated README
[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 paths to ANT bin folder, JAVA_HOME as well as required RDBMS (prepare-mysql or prepare-postgres) and Workflows (prepare-edf or prepare-cea) in the file build-war.bat or build-war.sh
23 - run script build-war.bat or build-war.sh
24 - the result web archive siman.war is created in sub-directory dist
25
26 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.
27
28 4. Build SIMAN java libraries and web archive Siman-WS.war
29
30 - go to the directory Siman-WS
31 - adjust paths to ANT bin folder, JAVA_HOME as well as required RDBMS (prepare-mysql or prepare-postgres) and Workflows (prepare-edf or prepare-cea) in the file build-war.bat or build-war.sh
32 - run script build-war.bat or build-war.sh
33 - the result web archive Siman-WS.war is created in sub-directory dist
34