[GRADLE-1127] IDEA plugin generates invalid .ipr file when multiple projects have the same name Created: 19/Aug/10 Updated: 04/Jan/13 Resolved: 09/Mar/11 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 0.9 |
| Fix Version/s: | 1.0-milestone-2 |
| Type: | Bug | ||
| Reporter: | Adam Murdoch | Assignee: | Szczepan Faber |
| Resolution: | Fixed | Votes: | 0 |
| Comments |
| Comment by Steve Ebersole [ 11/Apr/11 ] |
|
So what is the fix for this? Is there something we need to do in our build scripts? |
| Comment by Szczepan Faber [ 11/Apr/11 ] |
|
It is documented here: http://gradle.org/1.0-milestone-2/docs/dsl/org.gradle.plugins.ide.idea.GenerateIdeaModule.html#org.gradle.plugins.ide.idea.GenerateIdeaModule:moduleName Basically, gradle will make the duplicate names 'unique' by adding prefixes based on project path. >Is there something we need to do in our build scripts? This feature is enabled by default. I don't think there's anything specific you need to do in your build scripts. I guess if you did change the moduleName.outputFile = xxx to work around the duplicate-names problem you may be able to get rid of those workarounds. |