[GRADLE-2186] Faceted eclipse wtp projects without war/ear plugin applied Created: 20/Mar/12 Updated: 03/Dec/14 Resolved: 03/Dec/14 |
|
| Status: | Resolved |
| Project: | Gradle |
| Affects Version/s: | 1.0-milestone-7 |
| Fix Version/s: | 2.3-rc-1 |
| Type: | Improvement | ||
| Reporter: | Georg Fleischer | Assignee: | Radim Kubacki |
| Resolution: | Fixed | Votes: | 5 |
| Issue Links: |
|
||||||||
| Description |
|
Context: What whe want to achieve: Problem: Possible Solution: Code: eclipse { } |
| Comments |
| Comment by Georg Fleischer [ 21/Mar/12 ] |
|
This can be realized by modifying the class org.gradle.plugins.ide.eclipse.EclipseWtpPlugin. This would also eliminate duplicated configuration code which now exists in the class (assignment of "description", "inputFile", "outputFile", "eclipseWtpModel.facet") |
| Comment by Szczepan Faber [ 14/May/12 ] |
|
I like those ideas. I think we should aim for:
|
| Comment by Roman [ 27/Dec/13 ] |
|
Do you have any visibility what version will include this fix? |
| Comment by Thorsten Möller [ 28/Apr/14 ] |
|
This issue is related to http://issues.gradle.org/browse/GRADLE-2221, if not a duplicate. |
| Comment by Andreas Schmid [ 19/Oct/14 ] |
|
Hi Georg Fleischer et. al.,
As I just know how a "war" dependent project likes like, can you please post and example of ".settings/org.eclipse.wst.common.component" and ".settings/org.eclipse.wst.common.project.facet.core.xml" for and "ear" dependent project? This would help me a lot, otherwise I can only guess and either add the above mentioned facet name: "jst.ejb", version: "3.0", or just facet name: "jst.utility", version: "1.0" and you can manually add all you need, additionally. Here is the discussion on gradle-dev mailing list: http://gradle.1045684.n5.nabble.com/Default-configurations-for-Eclipse-WTP-plugin-on-dependent-jar-td5713163.html |
| Comment by Radim Kubacki [ 03/Nov/14 ] |
|
I applied the patch from Andreas Schmid (https://github.com/gradle/gradle/pull/344 and https://github.com/gradle/gradle/pull/345). Is there anything more we want to do before closing this bug? |
| Comment by Andreas Schmid [ 03/Nov/14 ] |
|
Hi Radim Kubacki,
eclipse {
wtp {
component { ... }
facet { ... }
}
}
as IMHO suggested in this bug report. Maybe I can finish this until the end of this week (even if it will be a bigger change ...). Would that be ok? |
| Comment by Radim Kubacki [ 03/Nov/14 ] |
|
Take your time. It will be going to 2.3 release anyway like the other changes. Thanks for that work. |
| Comment by Radim Kubacki [ 03/Dec/14 ] |
|
Covered now thanks to Andreas Schmid's contribution. Thanks. |
| Comment by Andreas Schmid [ 03/Dec/14 ] |
|
Hi Radim Kubacki, |