Skip to content

Development Environment

Ferenc Karsany edited this page Mar 17, 2017 · 5 revisions

Prerequisites

  • Maven
  • JDK 1.8
  • git client

Install

  1. check out the source from git:

      git clone https://github.com/karsany/obridge.git
    
  2. for running test cases, create - or have - a user on a database. Example for creating a user with sql commands:

      create user [USERNAME] identified by [PASSWORD];
      grant connect to [USERNAME];
      grant resource to [USERNAME]; 
    
  3. create a copy of the following files without example extension. Set your database connection parameters in the copied files.

    • obridge-generator-test\database_connection.cmd.example
    • obridge-main\src\test\resources\datasource.properties.example
    • obridge-generator-test\src\test\resources\datasource.properties.example
  4. install the test packages with

    • obridge-generator-test\install_database.cmd RUNNING THIS COMMAND DROPS ALL OBJECT FROM YOUR SCHEMA
  5. compile the program and run the tests with

      mvn install
    

Clone this wiki locally