Repository: activemq-artemis
Updated Branches:
  refs/heads/master ab9f5128b -> 9765dadbc


NO-JIRA: Updated the hacking guide ide section to reflect best practice for the 
2018.2 edition of IntelliJ IDEA.


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/1c2ca4ae
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/1c2ca4ae
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/1c2ca4ae

Branch: refs/heads/master
Commit: 1c2ca4ae2a698fa74fb95706646aa95d7de4eaf9
Parents: ab9f512
Author: Roddie Kieley <[email protected]>
Authored: Wed May 2 15:15:43 2018 -0230
Committer: Roddie Kieley <[email protected]>
Committed: Wed May 2 15:15:43 2018 -0230

----------------------------------------------------------------------
 docs/hacking-guide/en/ide.md | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/1c2ca4ae/docs/hacking-guide/en/ide.md
----------------------------------------------------------------------
diff --git a/docs/hacking-guide/en/ide.md b/docs/hacking-guide/en/ide.md
index 249ebde..3304e77 100644
--- a/docs/hacking-guide/en/ide.md
+++ b/docs/hacking-guide/en/ide.md
@@ -8,21 +8,22 @@ There a few files useful for IDE integration under 
./etc/ide-settings on a check
 
 ### Importing the Project
 
-The following steps show how to import ActiveMQ Artemis source into IntelliJ 
IDEA and setup the correct maven profile to allow
-running of JUnit tests from within the IDE.  (Steps are based on version: 
2017.1.2)
+The following steps show how to open the ActiveMQ Artemis maven project in 
IntelliJ IDEA and setup the correct maven profile to allow running of JUnit 
tests from within the IDE.  (Steps are based on version: 2018.2)
 
-* File --> Import Project --> Select the root directory of the ActiveMQ 
Artemis source folder. --> Click OK
+* Starting from a clean clone
+* Build the activemq-artemis source using the maven 'dev' profile:
 
-This should open the import project wizard.  From here:
+$ mvn -Pdev install -DskipTests=true
 
-* Select "Import project from external model" toggle box, then select Maven 
from the list box below.  Click Next.
-* Leave the defaults set on this page and click next.
-* On the "Select profiles page", select the checkbox next to "dev" and click 
next.
-* From here the default settings should suffice.  Continue through the wizard, 
clicking next until the wizard is complete.
+* Await and ensure the outcome is BUILD SUCCESS
+* Launch IntelliJ
+* From the 'Welcome to IntelliJ IDEA' screen select 'Open'
+* From the 'Open File or Project' screen select the pom.xml file in the cloned 
activemq-artemis directory 
+* From the 'Open Project' screen select 'Open as Project'
 
-Once the project has been imported and IDEA has caught up importing all the 
relevant dependencies, you should be able to
-run JUnit tests from with the IDE.  Select any test class in the tests -> 
integration tests folder.  Right click on the
-class in the project tab and click "Run <classname>".  If the "Run 
<classname>" option is present then you're all set to go.
+This should open the main IntelliJ IDEA window where you will notice some 
background tasks running via the bottom status bar. These background tasks 
should successfully import and index the project automatically.
+
+Once the project has been imported and IntelliJ IDEA has caught up importing 
all the relevant dependencies, you should be able to run JUnit tests from with 
the IDE.  Select any test class in the tests -> integration tests folder.  
Right click on the class in the project tab and click "Run <classname>".  If 
the "Run <classname>" option is present then you're all set to go.
 
 ### Note about IBM JDK on Idea
 

Reply via email to