Project

General

Profile

Actions

Building » History » Revision 1

Revision 1/16 | Next »
Sergey Smolov, 10/22/2015 05:23 PM


Building

For HDL Retrascope building and JUnit tests we use Gradle. Please install it first.

Building and running HDL Retrascope 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

Building and running HDL Retrascope from Eclipse IDE

  1. Install Buildship Gradle integration plugin for Eclipse IDE.
  2. Create init.gradle file in the $HOME/.gradle directory and write the following to it:
    allprojects
    {
      apply plugin: ''eclipse''
    
      it.eclipse
      {
        classpath.downloadJavadoc = true//для удобства
      }
    }
    
  3. Import Retrascope sources into Eclipse workspace:
    • Use the menu item "File/Import...".
    • Choose "Gradle/Gradle Project".
    • Select the "<retrascope>/trunk/retrascope" directory as the root directory, press "Next".
    • Select the "Gradle wrapper (recommended)" import option.
    • Press the "Finish" button: the project will be opened in the Eclipse IDE.

Updated by Sergey Smolov over 8 years ago · 1 revisions