master
, often times there will be dependencies that require a fresh complete build (note that this is not generally an issue when building from a release version)
+
+* If the build fails with memory issues (or mysteriously dies during unit tests), your build environment may be running out of memory. By default, the HAPI build executes unit tests in multiple parallel JVMs in order to save time. This can consume a lot of RAM and sometimes causes issues. Try executing with the following command to disable this behaviour:
+
+ ```
+ mvn -P ALLMODULES,NOPARALLEL install
+ ```
+
+ * If you figure something else out, please let us know so that we can add it to this list!
+
+# Importing into Eclipse
+
+ This section shows how to import HAPI into Eclipse. There is no requirement to use Eclipse (IntelliJ/IDEA and Netbeans are both fine!) so feel free to skip this section.
+
+**Maven Import**
+
+Import the HAPI projects as Maven Modules by selecing **File -> Import...** from the File menu. Then select **Existing Module Projects** as shown below.
+
+
+
+**Select the Projects**
+
+Next, browse to the directory where you checked out the HAPI FHIR sources. You might want to select only the projects you are interested in editing, in order to keep Eclipse's memory use down. You can always come back and import more later.
+
+
+
+##
+ + When importing the HAPI projects into Eclipse, sometimes Eclipse + will fail to correctly import libraries. If you import a module + into Eclipse and it fails to compile with many errors relating to + packages other than HAPI's, the following steps will fix this: +
+.project
+ and .classpath
, and the directory .settings
+ from each module you want to open.
+