On 20/03/2012, at 6:44 AM, Kris De Volder wrote:

> It looks like the M9 tooling API has removed deprecated method 
> EclipseProject.getTasks.
> 
> I recall that previously deprecation comment advised me that I should instead 
> do something like
> eclipseProject.getGradleProject().getTasks()
> 
> The problem with that however is that this sequence of method calls isn't 
> working for older projects (e.g. M3 based projects).
> (getProject method throws MissingMethodException).
> 
> So does this effectively mean that
> 
>  a) M9 tooling API is not intending to support working with M3(*) based 
> projects?
>  b) The deprecated method was removed from tooling API without considering 
> this unintended consequence?
>  c) there is another method in M9 that works with M3 to get tasks for a given 
> EclipseProject that I have overlooked?

d) It wasn't supposed to be removed (it wasn't on the list), but seems to have 
gone anyway. We'll either put it back or fix 
EclipseProject.getGradleProject().getTasks().


--
Adam Murdoch
Gradle Co-founder
http://www.gradle.org
VP of Engineering, Gradleware Inc. - Gradle Training, Support, Consulting
http://www.gradleware.com

Reply via email to