Building » History » Revision 10
Revision 9 (Sergey Smolov, 01/11/2020 04:32 PM) → Revision 10/16 (Sergey Smolov, 01/11/2020 04:34 PM)
h1. Building The project build system is based on "Gradle":http://gradle.org/. Please either install it first or use wrapper script (we use "Gradle 4.10.3":https://docs.gradle.org/4.10.3/release-notes.html in the wrapper, by the way). For Windows OS @gradlew.bat@ _gradlew.bat_ script should be used, for Linux-based OS @gradlew@ _gradlew_ script should be used. h2. From command line To compile main classes run: <pre> gradle classes </pre> To compile testClasses run: <pre> gradle testClasses </pre> To run all unit tests run: <pre> gradle test </pre> To list all Gradle commands run: <pre> gradle tasks </pre> h2. From "Eclipse IDE":https://www.eclipse.org/ide/ Eclipse IDE * Generate the # Install "Buildship":https://marketplace.eclipse.org/content/buildship-gradle-integration Gradle integration plugin for Eclipse IDE project and classpath files with "Gradle":https://gradle.org: <pre>$ ./gradlew eclipse</pre> IDE. * # Create a workspace located @init.gradle@ file in the $HOME/.gradle directory with @retrascope@ - Use and write the menu item @File/Switch Workspace...@ following to it: <pre> allprojects { - Browse the directory apply plugin: 'eclipse' it.eclipse { classpath.downloadJavadoc = true } * } </pre> # Import an existing project called @retrascope@ Retrascope sources into the workspace - Eclipse workspace: * Use the menu item @File/Import...@ - "File/Import...". * Choose @General/Existing Projects into Workspace@ - "Gradle/Gradle Project". * Select the @retrascope@ folder Retrascope directory as the root directory - directory, press "Next". * Select the @retrascope@ "Gradle wrapper (recommended)" import option. * Press the "Finish" button: the project located will be opened in this directory - Press the @Finish@ button Eclipse IDE. h2. From "IntelliJ IDEA":https://www.jetbrains.com/idea/ IntelliJ IDEA # Use the "Import Project" menu item. # Select the @retrascope@ Retrascope directory, press "OK". # Select "Import project from external model" -> "Gradle" item, press "Finish".