Home
skoeven edited this page Jan 12, 2017
·
3 revisions
Tectonicus is written in Java. In order to build it you'll need the Java SE Development Kit(JDK) installed on your system, preferably version 1.7 or 1.8.
- Open Eclipse and then switch to the Git perspective.
- Click "Clone a Git repository".
- Set the Repository URI to https://github.com/tectonicus/tectonicus.git (Leave the username and password blank.)
- Click Next, Next, then set a destination directory.
- Make sure Import existing Eclipse projects is selected, then click Finish.
- Right-click on your project in the Package Explorer and select Gradle->Refresh Gradle Project
- Click on Window->Show View->Other... and select Gradle->Gradle Tasks
- Under build tasks double-click on the 'createPackage' task
- If everything worked correctly, a new Tectonicus jar and zip file will have been created in the tectonicus\build\libs and tectonicus\build\distributions directories respectively.
- Open IntelliJ and click "Check out from Version Control" -> Git on the Welcome screen or on the VCS menu.
- Set the Repository URL to https://github.com/tectonicus/tectonicus.git and set a destination directory. Click Clone.
- Wait for the repository to download and then answer Yes when it prompts you to open an IDEA project file.
- Make sure a Project SDK is set in the Project Structure settings.
- Click 'Import Gradle project' on the notification and accept the defaults, then click OK.
- Click on View->Tool Windows->Gradle
- A new pane should open on the right with a list of the build tasks. Double-click Tasks->build->createPackage.
- If everything worked correctly, a new Tectonicus jar and zip file will have been created in the tectonicus\build\libs and tectonicus\build\distributions directories respectively.
- First you will need to install the Gradle plugin for Netbeans. Click on Tools->Plugins go to Available Plugins and search for and install the Gradle plugin. Restart Netbeans if necessary.
- Then on the Team menu, point to Git then click Clone...
- Set the Repository URL to https://github.com/tectonicus/tectonicus.git (Leave the username and password blank.) Set a destination folder for the repository.
- Click Next, Next, then Finish and wait for the repository to download. Click Yes when it asks if you wish to open the project.
- Hit F11 or click Run->Build Project
- If everything worked correctly, a new Tectonicus jar will have been created in the tectonicus\build\libs directory.