geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-7164) IntelliJ IDEA 2019 error: the output path is not specified for modules
Date Fri, 06 Sep 2019 18:30:00 GMT

    [ https://issues.apache.org/jira/browse/GEODE-7164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924501#comment-16924501
] 

ASF subversion and git services commented on GEODE-7164:
--------------------------------------------------------

Commit 83b65651154172ae463d4b4eca1925b367c9c8fe in geode's branch refs/heads/develop from
Aaron Lindsey
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=83b6565 ]

GEODE-7164: Fix issue with IntelliJ Gradle import (#4012)

* GEODE-7164: Fix issue with IntelliJ Gradle import

- Configure IntelliJ's Gradle importer to check the "Inherit project
compile output path" option by default for imported gradle sub-projects
- Prevent error when delegating build/run actions to IntelliJ instead of
Gradle: "Cannot start compilation: the output path is not specified for
modules ..."

Authored-by: Aaron Lindsey <alindsey@pivotal.io>



> IntelliJ IDEA 2019 error: the output path is not specified for modules
> ----------------------------------------------------------------------
>
>                 Key: GEODE-7164
>                 URL: https://issues.apache.org/jira/browse/GEODE-7164
>             Project: Geode
>          Issue Type: Improvement
>            Reporter: Aaron Lindsey
>            Assignee: Aaron Lindsey
>            Priority: Major
>         Attachments: Screen Shot 2019-09-04 at 10.45.47 AM.png, Screen Shot 2019-09-04
at 10.51.04 AM.png
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When delegating build/run actions to IntelliJ IDEA instead of Gradle, IntelliJ IDEA 2019
fails to build geode with an error similar to the one shown in the screenshot below:
>  !Screen Shot 2019-09-04 at 10.45.47 AM.png|width=370,height=298!
> h4. Steps to Reproduce:
> (Tested on IntelliJ IDEA CE versions 2019.1.4 and 2019.2.1)
>  # Make sure Gradle delegation is disabled for build/run
>  ** Instructions for 2019.1.4:
>  *** Go to Preferences | Build, Execution, Deployment | Build Tools | Gradle | Runner
>  *** Make sure "Delegate build/run actions to Gradle" is unchecked
>  ** Instructions for 2019.2.1:
>  *** Go to Preferences | Build, Execution, Deployment | Build Tools | Gradle
>  *** Make sure "Build and Run using:" is set to "IntelliJ IDEA"
>  # Clone geode into an empty directory
>  # Follow the instructions [here|https://github.com/apache/geode/blob/develop/BUILDING.md]
to import and build geode using IntelliJ IDEA
>  # Enable Gradle build/run delegation
>  ** Instructions for 2019.1.4:
>  *** Go to Preferences | Build, Execution, Deployment | Build Tools | Gradle | Runner
>  *** Check "Delegate build/run actions to Gradle"
>  ** Instructions for 2019.2.1:
>  *** Go to Preferences | Build, Execution, Deployment | Build Tools | Gradle
>  *** Set "Build and Run using:" to "Gradle"
>  # Select "Build Project" from the Build menu to build geode
>  # After the build succeeds, revert the change from step 4 to switch back to the IntelliJ
build runner
>  # Repeat step 5 to build the project again
>  # The popup error message shown in the screenshot should show and IntelliJ will not
initiate the build



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message