I tried creating a build.gradle containing apply plugin: 'eclipse' but when I type gradle at the command line in a directory containing that file I get a failure: Caused by: org.gradle.api.internal.MissingMethodException: Could not find method apply() for arguments [{plugin=eclipse}] on root project 'tester'.
I'm not sure from the doc if I need to install a seperate plugin or not....:-( These things are never easy. I hate it when project setup takes over form starting the project! Cheers, Tom. On 12 June 2010 22:29, Jason Porter <lightguard...@gmail.com> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > > On Fri, Jun 11, 2010 at 18:33, boardtc <boar...@gmail.com> wrote: > > I am doing a small Groovy project this weekend, generating some html > pages > > from some config file. Down the road I could see the project expanding to > a > > grails front end or something. > > I have predominately used Ant and earlier this year had a > > good though short experience with Maven for a project. Maven was > > great though I thought all the xml a bit verbose and looking in > > the repository I started seeing these more concise ivy targets. With that > in > > mind I did more research and found gradle which I see uses Ivy. I know > such > > a tool might be overkill for now but I would like to experiment with it. > > I am using IntelliJ but with Eclipse project format. Reading the faq I > see > > that Gradle can generate eclipse projects files. That 's a one line > command > > in Maven, is there something similar in gradle? Please direct me to the > > manual reference if so. > > apply plugin: 'eclipse' > > http://www.gradle.org/latest/docs/userguide/eclipse_plugin.html > > Or http://www.gradle.org/latest/docs/userguide/idea_plugin.html for > the IntelliJ Plugin > > > I am expecting gradle organises the code in some consistent directory > > fashion like maven, where can I read about this in the manual? > > It's the same layout as maven. > http://www.gradle.org/latest/docs/userguide/groovy_plugin.html > > > Thanks for any advice. > > Cheers, > > > > Tom. > > > > > > - -- > Jason Porter > http://lightguard-jp.blogspot.com > http://twitter.com/lightguardjp > > Software Engineer > Open Source Advocate > > PGP key id: 926CCFF5 > PGP key available at: keyserver.net, pgp.mit.edu > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.14 (Darwin) > > iEYEAREIAAYFAkwT/BMACgkQEEbDm5Jsz/Xi5wCfdh+zHWOK1LpQi8TwntwRfiWl > 51MAnRmtb9XdtUznifui+hFK1aw6AvbM > =/9Yx > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >