Setting up IntelliJ for Hermes development
IntelliJ IDEA is a Java IDE from Jetbrains. It is free to use for registered open-sourced software projects. This set of instructions has is for IntelliJ version 8.
To load the maven project in IntelliJ"
- Select File → Open Project
- Then browse to and select the Hermes pom.xml file
That's it! IntelliJ will automatically generate it's own project file based on pom.xml and attempts to solve all dependencies.
To run the application:
- Select Run → Run
- Click on "+" and create a new "Application" configuration
- Name it something like "Hermes Run"
- Click on the "…" button next to "Main Class"
- The type in the search field "ApplicationRunner". There should be a single selectable class from the package au.edu.jcu.hermes
- Then click on "Run" and it should run the application from within IntelliJ.
Changed pom.xml
From time to time the project pom.xml file will change, such as adding new dependencies, or updating library versions. When this happens, open up pom.xml in the IDE. IntelliJ will detect changes in the file, and a "Re-import" button on the file name title bar will appear. Clicking on this will cause IntelliJ to re import the entire project.
![(please configure the [header_logo] section in trac.ini)](/trac/commons-vfs-grid/chrome/common/arcs-general.png)