mirror of
https://github.com/corda/corda.git
synced 2025-01-31 08:25:50 +00:00
Updates the setup instructions to be IntelliJ 2018 compatibile. (#3299)
This commit is contained in:
parent
010c30f6d4
commit
086b9daa6e
@ -94,7 +94,7 @@ Run from IntelliJ
|
||||
|
||||
3. Once the project is open, click ``File``, then ``Project Structure``. Under ``Project SDK:``, set the project SDK by
|
||||
clicking ``New...``, clicking ``JDK``, and navigating to ``C:\\Program Files\\Java\\jdk1.8.0_XXX`` (where ``XXX`` is
|
||||
the latest minor version number). Click "OK"
|
||||
the latest minor version number). Click ``OK``
|
||||
4. Again under ``File`` then ``Project Structure``, select ``Modules``. Click ``+``, then ``Import Module``, then select
|
||||
the ``cordapp-example`` folder and click ``Open``. Choose to ``Import module from external model``, select
|
||||
``Gradle``, click ``Next`` then ``Finish`` (leaving the defaults) and ``OK``
|
||||
@ -148,7 +148,7 @@ Run from IntelliJ
|
||||
|
||||
3. Once the project is open, click ``File``, then ``Project Structure``. Under ``Project SDK:``, set the project SDK by
|
||||
clicking ``New...``, clicking ``JDK``, and navigating to ``C:\\Program Files\\Java\\jdk1.8.0_XXX`` (where ``XXX`` is
|
||||
the latest minor version number). Click "OK"
|
||||
the latest minor version number). Click ``OK``
|
||||
4. Again under ``File`` then ``Project Structure``, select ``Modules``. Click ``+``, then ``Import Module``, then select
|
||||
the ``cordapp-example`` folder and click ``Open``. Choose to ``Import module from external model``, select
|
||||
``Gradle``, click ``Next`` then ``Finish`` (leaving the defaults) and ``OK``
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.5 KiB |
@ -39,38 +39,21 @@ Opening the example CorDapp in IntelliJ
|
||||
---------------------------------------
|
||||
Let's open the example CorDapp in IntelliJ IDEA:
|
||||
|
||||
**If opening a fresh IntelliJ instance**:
|
||||
|
||||
* Open IntelliJ
|
||||
* A dialogue box will appear:
|
||||
|
||||
.. image:: resources/intellij-welcome.png
|
||||
:width: 400
|
||||
* A splash screen will appear. Click ``open``, navigate to the folder where you cloned the ``cordapp-example``, and
|
||||
click ``OK``
|
||||
|
||||
* Click open, navigate to the folder where you cloned the ``cordapp-example``, and click OK
|
||||
* Once the project is open, click ``File``, then ``Project Structure``. Under ``Project SDK:``, set the project SDK by
|
||||
clicking ``New...``, clicking ``JDK``, and navigating to ``C:\Program Files\Java\jdk1.8.0_XXX`` (where ``XXX`` is the
|
||||
latest minor version number). Click ``OK``
|
||||
|
||||
* IntelliJ will show several pop-up windows, one of which requires our attention:
|
||||
|
||||
.. image:: resources/unlinked-gradle-project.png
|
||||
:width: 400
|
||||
|
||||
* Click the 'import gradle project' link. Press OK on the dialogue that pops up
|
||||
* Again under ``File`` then ``Project Structure``, select ``Modules``. Click ``+``, then ``Import Module``, then select
|
||||
the ``cordapp-example`` folder and click ``Open``. Choose to ``Import module from external model``, select
|
||||
``Gradle``, click ``Next`` then ``Finish`` (leaving the defaults) and ``OK``
|
||||
|
||||
* Gradle will now download all the project dependencies and perform some indexing. This usually takes a minute or so
|
||||
|
||||
* If the 'import gradle project' pop-up does not appear, click the small green speech bubble at the bottom-right of
|
||||
the IDE, or simply close and re-open IntelliJ again to make it reappear
|
||||
|
||||
**If you already have IntelliJ open**:
|
||||
|
||||
* Open the ``File`` menu
|
||||
|
||||
* Navigate to ``Open ...``
|
||||
|
||||
* Navigate to the directory where you cloned the ``cordapp-example``
|
||||
|
||||
* Click OK
|
||||
|
||||
Project structure
|
||||
~~~~~~~~~~~~~~~~~
|
||||
The example CorDapp has the following structure:
|
||||
|
Loading…
x
Reference in New Issue
Block a user