Maven tasks for Ant seems pretty easy to set up. First, make sure you have Ant and Java installed correctly (with Ant added to the path and ANT_HOME defined). Then, simply download Maven tasks for Ant on the front page of http://www.maven.apache.org/ (it's on the right side). Download the .jar version and drop that in the lib directory of your Ant install. From there on in, simply use a Maven build file to specify any dependencies (including hibernate, hibernate annotations, hsqldb and whatever else we will need).
Examples from the hibernate book that Prof. Pollice let us borrow can be found here: http://examples.oreilly.com/9780596517724/
Chapter 7 has the annotations example plus a Maven build file that has all of the dependencies.
Subscribe to:
Post Comments (Atom)
2 comments:
Note that most of this information is outdated now since we decided to go with full Maven.
Are you trying to make money from your visitors by using popunder advertisments?
If so, did you know about Pop Cash?
Post a Comment