You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Ian Maxon (Code Review)" <do...@asterixdb.incubator.apache.org> on 2016/07/19 23:50:22 UTC
Change in incubator-asterixdb-site[master]: Update dev-setup to use IntelliJ instead
Ian Maxon has uploaded a new change for review.
https://asterix-gerrit.ics.uci.edu/1009
Change subject: Update dev-setup to use IntelliJ instead
......................................................................
Update dev-setup to use IntelliJ instead
Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd497
---
M dev-setup.md
1 file changed, 25 insertions(+), 1 deletion(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/incubator-asterixdb-site refs/changes/09/1009/1
diff --git a/dev-setup.md b/dev-setup.md
index 75642cc..883c886 100644
--- a/dev-setup.md
+++ b/dev-setup.md
@@ -29,7 +29,7 @@
---
-## Setting up an Asterix Development environment in Eclipse
+## Setting up an Asterix Development environment
### Prerequisites
* A suitable \*nix environment (Linux, OSX)
@@ -38,6 +38,8 @@
* A relatively recent version of Eclipse
### Steps
+
+#### General setup
1. Check out AsterixDB master in one folder via git in the command line. Assume that the path is `$HOME/workspace`.
@@ -50,6 +52,28 @@
cd asterixdb/
mvn install -DskipTests
+#### IntelliJ IDE Setup
+
+
+3. In Intellij, import asterixdb as an existing Maven Project.
+* `File -> New -> Project from existing sources`, or `Import project...' when on a new install
+* Then, select the 'pom.xml' in the root of the checked out git repository.
+* The default options for import should suffice, so just click `Next`
+* Also click `Next` when selecting for profiles and versions
+* On the JDK Selection screen, be sure to select a JDK > 1.8, OpenJDK or Oracle is fine.
+* Give IntelliJ some time to import the Maven project and its dependencies
+* Once everything is finished, you should see 'asterixdb' and 'hyracks-fullstack' modules in the "Project" view.
+
+4. Set up IntelliJ code formatting rules
+* Download files [AsterixCodeFormatProfile.xml](https://cwiki.apache.org/confluence/download/attachments/61322291/AsterixCodeFormatProfile.xml)
+ [AsterixCleanupFormatProfile.xml](https://cwiki.apache.org/confluence/download/attachments/61322291/AsterixCleanupFormatProfile.xml)
+* Import profiles into IntelliJ
+ * `File -> Settings -> Editor -> Code Style -> Java`
+ * Then, click the `Manage...` button
+ * Click `Import` and import the `AsterixCodeFormatProfile.xml` as an Eclipse XML profile.
+
+#### Eclipse IDE Setup
+
3. In Eclipse, import asterixdb as an existing Maven Project.
* `File -> Import -> Maven -> Existing Maven Projects -> Next`
* Specify the Root directory as `asterixdb` and then click Next until Finish is enabled.
--
To view, visit https://asterix-gerrit.ics.uci.edu/1009
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd497
Gerrit-PatchSet: 1
Gerrit-Project: incubator-asterixdb-site
Gerrit-Branch: master
Gerrit-Owner: Ian Maxon <im...@apache.org>
Change in incubator-asterixdb-site[master]: Update dev-setup to use IntelliJ instead
Posted by "Ian Maxon (Code Review)" <do...@asterixdb.incubator.apache.org>.
Ian Maxon has abandoned this change.
Change subject: Update dev-setup to use IntelliJ instead
......................................................................
Abandoned
--
To view, visit https://asterix-gerrit.ics.uci.edu/1009
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: abandon
Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd497
Gerrit-PatchSet: 1
Gerrit-Project: incubator-asterixdb-site
Gerrit-Branch: master
Gerrit-Owner: Ian Maxon <im...@apache.org>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Change in incubator-asterixdb-site[master]: Update dev-setup to use IntelliJ instead
Posted by "Jenkins (Code Review)" <do...@asterixdb.incubator.apache.org>.
Jenkins has posted comments on this change.
Change subject: Update dev-setup to use IntelliJ instead
......................................................................
Patch Set 1:
Build Started https://asterix-jenkins.ics.uci.edu/job/asf-site/76/
--
To view, visit https://asterix-gerrit.ics.uci.edu/1009
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I888ff0eacf5b3cb6ad7ec002c74f113c6ffcd497
Gerrit-PatchSet: 1
Gerrit-Project: incubator-asterixdb-site
Gerrit-Branch: master
Gerrit-Owner: Ian Maxon <im...@apache.org>
Gerrit-Reviewer: Jenkins <je...@fulliautomatix.ics.uci.edu>
Gerrit-HasComments: No