Howto generate Hibernate POJO and mapping files using ant from a db schema
This is the ant task I’m using to generate POJO and mapping files from a DB Schema (mysql). <project name="springapp" basedir="." default="gen_hibernate"> <taskdef name="hibernatetool"...
View ArticleHow to Create Jar Files from Ant
Lets take this time in consideration a real life project. Most of the time Ant is used to compile and build java projects. This means generating, compiling and building jar files. For this we are going...
View ArticleHow to write an Ant xml build file to Generate JAXB Code and Compile and...
There is a pretty common situation to use a java classes generator and to create classes based on a defined pattern. Hibernate, Castor, Jaxb are a few examples. I prefer to have those classes packed in...
View ArticleHow To Use Ant
Ant is a build tool written in Java, intended to be used for Java build processes. Ant is used for building small and large projects as well. You can use ant not only for automation of building Java...
View Article