Skip to content

Commit

Permalink
Add help for IntelliJ/Gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisr3 committed May 2, 2017
1 parent c275a58 commit 46c2f9a
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion docs/source/getting-set-up-fault-finding.rst
Expand Up @@ -60,6 +60,35 @@ If IDEA refuses to open a project because an SDK has not been selected, you may

If you are having trouble selecting the correct JDK, the JetBrains website provides the `following guidelines <https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under>`_.

IDEA fails to compile Corda because it refuses to find some dependencies
************************************************************************

First check that Corda compiles successfully from the command line using ``gradlew clean build``. If this succeeds then IntelliJ may just have imported the project's Gradle files incorrectly. Try opening the

.. parsed-literal::
View/Tool Windows/Gradle
..
pane and clicking the "Refresh all Gradle projects" button. Then retry compiling Corda within IntelliJ. If this still fails then try

.. parsed-literal::
File/Invalidate Caches, Restart...
..
or checking the

.. parsed-literal::
Settings/Build,Execution,Deployment/Build Tools/Gradle/Runner/Delegate IDE build-run actions to gradle
..
checkbox, and then refreshing Gradle again.

IDEA fails to compile in VaultSchemaTest.kt
*******************************************

Expand Down Expand Up @@ -87,4 +116,4 @@ Other common issues
“xterm: command not found”
**************************

On some machines, running the samples requires xterm. You can download it `here <http://invisible-island.net/xterm/#download>`_.
On some machines, running the samples requires xterm. You can download it `here <http://invisible-island.net/xterm/#download>`_.

0 comments on commit 46c2f9a

Please sign in to comment.