Another thing: Sooner or later the Tooling API should support cancellation. Therefore, new API may be designed with cancellation support in mind. Since I find cancellation based on thread interrupts a broken concept, I recommend something else: Something similar to the CancellationToken of .NET. I have lots of code related to this kind of cancellation which I can donate to Gradle. Although my code is Java7 based, it can be backported/adjusted without much effort (at least the relevant parts). My code can be downloaded from here: https://github.com/kelemen/JTrim. Where code directly related to cancellation is in the "jtrim-core" project, "org.jtrim.cancel" package (Sorry about the lots of typos in the Javadoc :)).
-- View this message in context: http://gradle.1045684.n5.nabble.com/Proposal-for-retrieving-multiple-types-of-models-from-a-project-in-a-single-pass-using-the-Tooling-AI-tp5711516p5711544.html Sent from the gradle-dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email