1 How to build SIMAN java libraries and web archives (siman.war and Siman-WS.war)
3 1. Download and Install ant as described here
5 http://ant.apache.org/manual/install.html
8 for example, apache-ant-1.8.4-bin.zip
10 Make sure you have a Java environment installed (jdk 1.6.0)
13 2. Take from SIMAN Java source codes from SIMAN CVS repository like this
16 cvs -d :pserver:bri@cvs.opencascade.com:/home/server/cvs/SIMAN checkout SIMAN_SRC
19 3. Build SIMAN java libraries and web archive siman.war
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
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.
29 4. Build SIMAN java libraries and web archive Siman-WS.war
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
37 5. To build war files on Linux please create appropriate shell script file
38 according to content of the file build-war.bat