Installing Development Tools
You need a set of tools before you can start to develop with Tribefire. On Windows, it's best to install all tools in a single folder (which can be then added to Windows Defender exception list).
-
First, let's create a central folder where we will install our components. In this tutorial, it's going to be
C:/dev
. -
Download and install all components listed below. Note that Jinni and bt-ant-tasks require Braintribe authorization before downloading.
- Java 8 or later - download Oracle JDK, follow vendor's documentation to install.
- Eclipse - download, follow vendor's documentation to install.
- Apache Ant - download, follow vendor's documentation to install.
- bt-ant-tasks - download, install.
- Jinni download and Maven download - see Quick Installation for information on setting up these components.
- DevRock - see Installing DevRock
Installing DevRock
Before coding, we need to make sure our tools - Eclipse and DevRock - are set up correctly. Note that the configuration shown here is just a quick way to get you started. For detailed information about DevRock, see DevRock's documentation.
- Open Eclipse.
- Install DevRock as explained in Installing DevRock in Eclipse.
Maven Integration
Since DevRock interacts with Maven, you need to make sure that Devrock's Maven settings point to the correct Maven setup files. These are the user file and installation file, .m2/settings.xml
and .m2/conf/settings.xml
respectively.
-
Open Eclipse. Go to Window/Preferences.
-
Enter the user and installation files as shown below (
M2_HOME
is used in this case as an environment variable pointing to Maven installation folder, but this is completely optional):Note that if you are using MacOs, Eclipse might not have access to these environment variables. To solve this, start Eclipse from the terminal.
Quick Import Settings
Another DevRock's feature - Quick Import - requires that you configure the pairings between your local and remote source code repository. This feature allows you to import artifacts into workspace in a single click (or a keyboard shortcut). In this tutorial, only the local repository is configured.
In a later step we might want to add the local sources to the Git repository. For this, we prepare a subfolder D:\dev\git
where we will store our artifacts.
-
Open Eclipse. Go to Window/Preferences.
-
Set up Quick Import as follows:
- name - any name for the pairing you like
- local - repository address on your machine
- url - normally, the remote address of your repository. We'll leave it empty for now.
- kind - repository type (Git, SVN...)
What's Next?
Having installed all components, you can proceed to Creating Artifacts!