[GRADLE-1030] Eclipse configuration is broken for web applications Created: 12/Jul/10 Updated: 04/Jan/13 Resolved: 24/Nov/10 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9 |
Fix Version/s: | 0.9-rc-1 |
Type: | Bug | ||
Reporter: | Jan Ehrhardt | Assignee: | Hans Dockter |
Resolution: | Fixed | Votes: | 0 |
Description |
Eclipse WTP requires in the '.project' file the following additional build commands:
and the following additional natures:
Gradle's Eclipse plugin currently creates the same '.project' file for web projects as for standard Java projects. This prevents Eclipse from making a web project a web project. To solve this, Gradle should add the above configurations to the '.project' file, if the war plugin is applied. http://old.nabble.com/Eclipse-configuration-is-broken-for-web-applications-td29124778.html |
Comments |
Comment by Jan Ehrhardt [ 12/Jul/10 ] |
I have created a fix: http://github.com/derjan1982/gradle/commit/4acaae5c95b16cd2382bda6cdb91e0f09b42f3ec |
Comment by Hans Dockter [ 27/Jul/10 ] |
Thanks a lot for reporting this. We have redesigned the Eclipse plugin, therefore we did not apply your patch but fix it differently. Usually patches are very welcome (specially if they come with a test as yours ). |