Download Report - OPENCOSS
Transcript
Implementation of the evidence management service infrastructure 4 D6.6 OPENCOSS Platform tool developer manual This chapter provides detailed instructions for software developers. It explains how to install and set up the development infrastructure for OPENCOSS platform tools, and how to run the tools in the development mode. Client and server environments are presented in the chapters below. 4.1 Developer manual - Server This chapter contains instructions how to set up OPENCOSS platform server development and build environments. In particular it describes: • Installation of OPENCOSS platform database • Setting up Eclipse IDE, source code checkout, and compilation • Running OPENCOSS server in Eclipse IDE debugger • Building OPENCOSS server web application war files 4.1.1 Installation of OPENCOSS platform database 4.1.1.1 Installation of PostgreSQL database OPENCOSS platform tools use PostgreSQL database. The detailed description of how to download and install PostgreSQL database server has been provided in OPENCOSS Platform tool user manual, in the “Installation of PostgreSQL database” subchapter. Please follow the instructions presented there. 4.1.1.2 Creating OPENCOSS database in PostgreSQL After PostgreSQL server has been created, a database for OPENCOSS tables should be prepared. Please follow the instructions from OPENCOSS Platform tool user manual, “Creating OPENCOSS database in PostgreSQL” chapter. 4.1.2 Installation and setup of Eclipse IDE This chapter presents how to install and configure Eclipse IDE for OPENCOSS development. Checking out the code from source code repository is also described. 4.1.2.1 Installation of Java Java JDK 8 (Java Development Kit) is required in order to compile and run OPENCOSS server from the source code. Having JRE (Java Runtime Environment) only is not enough. In order to check if you have JDK installed, please open a command prompt and type: > javac -version If JDK has been installed, javac -version output, eg. javac 1.8.0_22, will be presented. In case javac is not a recognized command, please download JDK 8 and install it from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html FP7 project # 289011 Page 36 of 52