System Requirements
Before you actually initiate the build sequence, please check the value of the JAVA_HOME system variable:
The result of these commands should display the correct location of the JDK! Further on, use the following values:
Downloading sources from the BITSoftware SVNThe SocrateOpen sources can be downloaded, free-of-charge, from the BITSoftware SVN:If you intend to download sources by using the Eclipse development environment, please refer to the Developing with Eclipse section. The sections below contain details regarding the methods of downloading sources by using a subversion client (TortoiseSVN or a subversion package for Linux/Solaris). WindowsFor Windows you can use TortoiseSVN1. Create a source folder (for example, C:\SrcSopen\trunk). This folder will be further on referred to as SOPEN_SRC. 2. Right-click this folder and choose Export from the TortoiseSVN contextual menu. 4. Select OK and accept the certificate. 1. Create a source folder (for example, $HOME/SrcSOpen). 2. Open a terminal screen and go to the folder you previously created. 3. Enter the command: svn export https://svn.bitsoftware.ro:8443/dev/SocrateOpen/trunk. 4. Accept the certificate by typing letter t or p followed by ENTER. 5. Once the download completes, the sources will be available in the trunk folder, created inside the folder you had created for sources (for example, $HOME/SrcSOpen/trunk). This location will be further on referred to as SOPEN_SRC. The BuildThe build is initiated via the command line.These are the steps to follow for a build: 1. Open a terminal / command screen and go to SOPEN_SRC/utils_dev.
2. In the SOPEN_SRC/utils_dev folder enter the command: RUN_Build.bat (Windows) or ./RUN_Build.sh (Linux/Solaris). This command starts the actual build. 3. The first build ends with an error (error message "BUILD FAILED"), as seen in the image below: If the error message is displayed in the "Setup SocrateOpen" section, there is no problem. This is caused by the fact that the SocrateOpen server setup has not been run yet. If the error message "BUILD FAILED" is displayed in a different context, check and correct the situation. 4. At this stage:
5. Run the RUN_Setup.bat file (Windows) or RUN_Setup.sh (Linux/Solaris) from the folder where the SocrateOpen_17.zip archive was extracted (refer to the step above). For details regarding the setup, please refer to the Setup Server SocrateOpen section. 6. Once the SocrateOpen setup runs successfully, the build completes successfully too, and the message "BUILD SUCCESSFUL" is displayed (replacing the error message "BUILD FAILED" displayed after the first build). |
Developers > obsolete_pages >