Gradle

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
To raise new issues or bugs against Gradle, please use forums.gradle.org.
  • Gradle
  • GRADLE-1176

IdeaPlugin does not seem to honor set project.name as the User Guide suggests

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-milestone-4

Description

The User Guide, in table 28.2, 28.3 and 28.4 implies that the generated IntelliJ meta files will be named based on projectDir/<project.name>. However, I tried altering a project's name in settings.gradle and that name was not used by the IdeaPlugin.

The problem is that i have a multi-project structure where the root directory is named hibernate-core and a sub-project is in a directory hibernate-core/hibernate-core. Trying to create an IntelliJ project for this creates 2 files named hibernate-core.iml. IntelliJ takes the name of the module based on the name of the iml file (it would seem), so it has problems with this.

Activity

  • All
  • Comments
  • History
  • Activity
  • TeamCity
  • Commits
  • Source
  • Reviews
Hide
Permalink
Szczepan Faber added a comment - 09/May/11 12:39 PM - edited

I just tried and the problem is fixed.

BTW. You can also change the idea module name using: http://gradle.org/current/docs/dsl/org.gradle.plugins.ide.idea.GenerateIdeaModule.html#org.gradle.plugins.ide.idea.GenerateIdeaModule:moduleName

Show
Szczepan Faber added a comment - 09/May/11 12:39 PM - edited I just tried and the problem is fixed. BTW. You can also change the idea module name using: http://gradle.org/current/docs/dsl/org.gradle.plugins.ide.idea.GenerateIdeaModule.html#org.gradle.plugins.ide.idea.GenerateIdeaModule:moduleName

People

  • Assignee:
    Szczepan Faber
    Reporter:
    Steve Ebersole
Vote (0)
Watch (0)

Dates

  • Created:
    15/Oct/10 11:16 AM
    Updated:
    04/Jan/13 5:09 AM
    Resolved:
    09/May/11 12:39 PM
  • Atlassian JIRA (v5.0.3#729-sha1:bf569e4)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Gradle. Try JIRA - bug tracking software for your team.