Begin forwarded message:
From: Jeppe Nejsum Madsen <[email protected]> Date: July 28, 2009 12:25:48 PM GMT+02:00 To: Hans Dockter <[email protected]> Cc: [email protected] Subject: Re: [gradle-dev] scala plugin Hi,I'll be on vacation for the next couple of weeks, so just to give a small update on the progress so far:- I initially created a new plugin from scratch based on the groovy plugin and existing patch in GRADLE-287. - After getting this working, I thought this was too complex for a seemingly simple plugin, so decided to:- Write the entire plugin in Groovy - Try to minimize the amount of classes, boilerplate etc neededI really think it should be possible to write the Scala plugin (or any plugin for that matter) in a simpler way than how it's done currently. My current plugin is just a single file (should probably be split into a few more files eventually).But I believe that using groovy and keeping things as simple as prossible, should provide for a nice clean plugin. I looked at the scala plugin to buildr (written in Ruby) and thought it was pretty easy to follow what was going on. Not so much with Gradle plugins.....I'm not sure if this is something inherent to gradle or just the fact that most plugins are written in java and all the boilerplate that follows.I've attached my results so far, but note that this is pretty much just work in progress and you might not agree with the path taken, so feel free to ignore it completely :-) It just does compile & compileTest atm.When I'm back I'll be happy to work some more on this. Our app is written in scala and uses gradle for building, so I need to get this working :-) I used 0.5.2 with the patch in GRADLE-287 for some time, but it seems some of the repos we are using no longer works with the Ivy version used in 0.5.2 (see mailing list for details)
ScalaPlugin.groovy
Description: Binary data
/Jeppe On 28/07/2009, at 11.58, Hans Dockter wrote:Hi Ross, On Jul 26, 2009, at 1:21 PM, Ross Black wrote:Hi,Is anybody working on the scala plugin, or made any advances on my initial attempt in http://jira.codehaus.org/browse/GRADLE-287 ?Jeppe was trying to port it to 0.7. I'm not sure how far he got. I'm not aware that anyone has made advances on your initial attempt.If not I am happy to get it working again with the latest gradle code.That would be cool. I have put Jeppe in CC. He posted recently to do something from scratch for Scala.- Hans -- Hans Dockter Gradle Project Manager http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
