Luke Stephens wrote: > > I have a Hibernate Pojo project and I am trying to convert it to gradle > (mainly because I want some further flexibility). I am unsure after > looking at everything I can find, and trying a few things out, if gradle > is ready to handle developing Pojo, JPA based, hibernate projects?? > > I have seen some things based on Maven integrations, but we avoid Maven as > much as possible. > > Any Ideas, or tips on how to implement this? I want a gradle script (or > script elements) that: > > - do normal clean/compile/build. > - can generate ddl schema files from Pojo annotations > - can set up a test run that includes setting up a derby database. >
Your questions are a bit vague, but... - do normal clean/compile/build. apply plugin: "java" - can generate ddl schema files from Pojo annotations If there is an Ant task for this, then use it. Otherwise, put the required Jar on the build script class path (as I showed before) and use an Exec task. - can set up a test run that includes setting up a derby database. Shouldn't be too difficult, but you'd have to be more specific. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Hibernate-Pojo-project-tp4658742p4658818.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
