On 31/03/10 1:47 AM, Jan Ehrhardt wrote:
Hello,
is there a way to set a version property for the 'eclipseWtp' task?
Maven's Eclipse plugin allows to set a 'wtpversion' property to '2.0'.
Without this property, the project does not work with Eclipse 3.5.
Gradle's Eclipse plugin uses version '1.5.0' by default, so how can I
change it?
Unfortunately, it's hardcoded in the task. A workaround would be to add
a doLast { } action which parses the file to update the wtpversion.
We need a better way to handle this. The obvious solution is to add a
'wtpversion' property to the eclipseWtp task. However, I wonder if it
would be better to add an 'eclipseVersion' property to the project,
which is then used to determine things like the wtpversion and whatever
else happens to be specific to a given eclipse version.
Regardless, could you add a JIRA issue for this problem?
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email