On 01/08/12 10:06, Tim Yates wrote:
> I might be way off target here (and I'm no sort of Gradle expert), but
> I've been having a look to see if I can see what's wrong...
>
> If you change the classpath line to:
>
> classpath << files('build/classes/main')
>
> It gets further... I guess you need to add this back in as it looks
> like the vert.x gradle plugin removes it[1]
Right.. this is another issue - out build is relying on brittle project
specific plugins. When we need to change things we have to clone the
gradle-plugin project, change it, push it to maven... it's horrible
IMO this is _not_ how build tools are supposed to work. Build tools
should be explicit and declarative and not rely on magic.
> <mailto:
timv...@gmail.com>> wrote:
>
> Here's the project
https://github.com/vert-x/mod-redis
>
> It's Thorsten's redis busmod which I am attempting to convert to a
> Gradle build
>
> When you run tests ./mk test it complains it can't find classes.
>
> I have tried to add a classpath entry to the test task but to no
> avail. Doesn't seem to work whatever I do.
>
> Docs are pretty much useless.
>
> Any ideas?
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
> To view this discussion on the web, visit
>
https://groups.google.com/d/msg/vertx/-/pvV9_Bu8_gEJ.
> To post to this group, send an email to
ve...@googlegroups.com
> <mailto:
ve...@googlegroups.com>.
> <mailto:
vertx%2Bunsu...@googlegroups.com>.
> --
> You received this message because you are subscribed to the Google
> Groups "vert.x" group.
--
Tim Fox
Vert.x - effortless polyglot asynchronous application development
http://vertx.io
twitter:@timfox