Actions
Building » History » Revision 6
« Previous |
Revision 6/9
(diff)
| Next »
Sergey Smolov, 01/22/2020 03:27 PM
Building¶
Prerequisite¶
Download and install JDK 11 (use AdoptOpenJDK for Windows and openjdk-11-jdk for Ubuntu Linux based OS).
Getting project source code¶
Clone the project Git repository and it's submodules:
$ git clone --recursive https://forge.ispras.ru/git/veritrans.git
Building and running Verilog Translator from command line¶
To build Verilog Translator and run JUnit tests we use Gradle. Please install it first (Gradle 4.10.3 is recommended) or use Gradle wrapper script ('gradlew.bat' for Windows, 'gradlew' for Unix).
To compile main classes run:
gradle classes
To compile test classes run:
gradle testClasses
To run all unit tests run:
gradle test
NOTE : to list all Gradle commands run:
gradle tasks
Building and running Verilog Translator from Eclipse IDE¶
- Install Buildship Gradle integration plugin for Eclipse IDE.
- Create
init.gradle
file in the $HOME/.gradle directory and write the following to it:allprojects { apply plugin: 'eclipse' it.eclipse { classpath.downloadJavadoc = true } }
- Import Verilog Translator's sources into Eclipse workspace:
- Use the menu item "File/Import...".
- Choose "Gradle/Gradle Project".
- Select the "veritrans" 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 almost 5 years ago · 9 revisions