APPENDIX B n HIBERNATE TOOLS (Yahoo web space) 285 n HIBERNATE
APPENDIX B n HIBERNATE TOOLS 285 n HIBERNATE TOOLS 285 of a project outside the IDE. This can be useful in maintaining automated builds for regression testing and of course, not all Java IDEs offer integrated support for Hibernate anyway, while most of them do offer support for the Ant build tool. And besides, you might not be using an IDE in the first place! The Ant tasks are part of the Hibernate Tools download, which is largely oriented toward use as an Eclipse plug-in. The Ant tools themselves rely upon a set of three JAR files: hibernate-tools.jar, freemarker.jar, and jtidy-r8-21122004.jar. The hibernatetools. jar file is currently only available as a download with the rest of the plug-in files. You will find the JAR file within the ZIP file in a directory called pluginsorg.hibernate. eclipse_X.x.x.xlibtools, where the Xs are substituted for the Hibernate Tools version number. The freemarker and jtidy JAR files will also be available from this directory. Since these JAR files have no dependencies upon the other parts of the plug-in, you can copy them to a directory with a less unwieldy name without further consequences. How the Ant Tasks Work Despite their diverse set of outputs, the Hibernate tasks actually all work in the same way. The task is imported into Ant using the standard TaskDef element. This makes the Hibernate tools libraries available to Ant itself, and allows you to select an appropriate element representing the Hibernate tools to use in your script.
Please visit our professional web hosting services to find out about cheap and reliable webhost service that will surely answer all your demands.