From jbosstools-commits at lists.jboss.org Thu Mar 3 22:19:55 2011 Content-Type: multipart/mixed; boundary="===============4110092353741693768==" MIME-Version: 1.0 From: jbosstools-commits at lists.jboss.org To: jbosstools-commits at lists.jboss.org Subject: [jbosstools-commits] JBoss Tools SVN: r29500 - trunk/hibernatetools/docs/reference/en-US. Date: Thu, 03 Mar 2011 22:19:55 -0500 Message-ID: <201103040319.p243JtMU018356@svn01.web.mwc.hst.phx2.redhat.com> --===============4110092353741693768== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: mcaspers Date: 2011-03-03 22:19:54 -0500 (Thu, 03 Mar 2011) New Revision: 29500 Modified: trunk/hibernatetools/docs/reference/en-US/ant.xml Log: "General editing and screenshot updates" Modified: trunk/hibernatetools/docs/reference/en-US/ant.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 02:57:00 U= TC (rev 29499) +++ trunk/hibernatetools/docs/reference/en-US/ant.xml 2011-03-04 03:19:54 U= TC (rev 29500) @@ -180,7 +180,7 @@ Basic examples = - The following example shows the most basic setup for generating POJ= Os via <hbm2java> from a normal hibernate.cfg.= xml. The output will be placed in the ${build.dir}/gen= erated directory. + The following example shows the most basic setup for generating POJ= Os via <hbm2java> from a normal hibernate.cfg.= xml file. The output will be placed in the ${build.dir= }/generated directory. = @@ -194,11 +194,11 @@ = = - The following example is similar, but now we are performing multipl= e exports from the same configuration. We are exporting the schema via <hbm2dll>, generating some DAO code via <hbm2dao>= ; and finally running some custom code generation via <hbmt= emplate>. This is again from a normal hibernate.cfg.xml= file, and the output is still placed in the ${build.d= ir}/generated directory. + The following example is similar, but now we are performing multipl= e exports from the same configuration. We are exporting the schema via <hbm2dll>, generating some DAO code via <hbm2dao>= ;, and finally running some custom code generation via <hbm= template>. This is again from a normal hibernate.cfg.xm= l file, and the output is still placed in the ${build.= dir}/generated directory. = = - The example also shows how a classpath is specified, which is usef= ul when you have custom user types or some mappings that is needed to be lo= oked up as a classpath resource. + The example also shows how a classpath is specified, which is usef= ul when you have custom user types or some mappings that are required to be= looked up as a classpath resource. = @@ -223,7 +223,7 @@ Hibernate Configurations = - Hibernatetool supports four different Hibernate = configurations: A standard Hibernate configuration (<configuration= >), Annotation based configuration (<annotationconfigu= ration>), JPA persistence based configuration (<jpaconfi= guration>) and a JDBC based configuration (<jdbcconfig= uration>) used when reverse engineering. + Hibernatetool supports four different Hibe= rnate configurations: A standard Hibernate configuration (<configu= ration>), Annotation based configuration (<annotationc= onfiguration>), JPA persistence based configuration (<jp= aconfiguration>) and a JDBC based configuration (<jdbc= configuration>) used when reverse engineering. = @@ -396,12 +396,12 @@ Important: - To use it remember to put the JAR files needed for using Hibernat= e annotations in the classpath of the <taskdef>, i.e. <= filename>hibernate-annotations.jar and hibernate-commo= ns-annotations.jar. + To use an <annotationconfiguration> tag rememb= er to place the JAR files required to use Hibernate annotations in the clas= spath of the <taskdef>, i.e. hibernate-annota= tions.jar and hibernate-commons-annotations.jar. = - The <annotationconfiguration> tag supports the s= ame attributes as the <configuration> tag except that th= e configurationfile attribute is now required as that is where= an AnnotationConfiguration gets the list of classes a= nd packages it should load. + The <annotationconfiguration> tag supports the s= ame attributes as the <configuration> tag, with the exce= ption being that the configurationfile attribute is now requir= ed as that is where an AnnotationConfiguration gets th= e list of classes and packages it should load. = Thus the minimal usage is: --===============4110092353741693768==--