Project

General

Profile

Actions

Building » History » Revision 10

« Previous | Revision 10/16 (diff) | Next »
Sergey Smolov, 01/11/2020 04:34 PM


Building

The project build system is based on Gradle. Please either install it first or use wrapper script (we use Gradle 4.10.3 in the wrapper, by the way).
For Windows OS gradlew.bat script should be used, for Linux-based OS gradlew script should be used.

From command line

To compile main classes run:

gradle classes

To compile testClasses run:
gradle testClasses

To run all unit tests run:
gradle test

To list all Gradle commands run:
gradle tasks

From Eclipse IDE

  • Generate the Eclipse IDE project and classpath files with Gradle:
    $ ./gradlew eclipse
  • Create a workspace located in the directory with retrascope
    - Use the menu item File/Switch Workspace...
    - Browse the directory
  • Import an existing project called retrascope into the workspace
    - Use the menu item File/Import...
    - Choose General/Existing Projects into Workspace
    - Select the retrascope folder as the root directory
    - Select the retrascope project located in this directory
    - Press the Finish button

From IntelliJ IDEA

  1. Use the "Import Project" menu item.
  2. Select the retrascope directory, press "OK".
  3. Select "Import project from external model" -> "Gradle" item, press "Finish".

Updated by Sergey Smolov almost 5 years ago · 16 revisions