forked from hibernate/hibernate-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://anonsvn.jboss.org/repos/hibernate/tools/trunk/tools@19932 1b8cb986-b30d-0410-93ca-fae66ebed9b2
- Loading branch information
0 parents
commit 738d251
Showing
447 changed files
with
43,757 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src/java"/> | ||
<classpathentry kind="src" path="src/test"/> | ||
<classpathentry kind="src" path="src/testsupport"/> | ||
<classpathentry kind="src" path="src/templates"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> | ||
<classpathentry kind="lib" path="lib/freemarker.jar"/> | ||
<classpathentry kind="lib" path="lib/jtidy-r8-20060801.jar"/> | ||
<classpathentry kind="lib" path="lib/org.eclipse.core.runtime_3.2.0.v20060603.jar"/> | ||
<classpathentry kind="lib" path="lib/org.eclipse.equinox.common_3.2.0.v20060603.jar"/> | ||
<classpathentry kind="lib" path="lib/org.eclipse.jdt.core_3.2.0.v_671.jar"/> | ||
<classpathentry kind="lib" path="lib/org.eclipse.text_3.2.0.v20060605-1400.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/> | ||
<classpathentry kind="lib" path="lib/testlibs/commons-logging-1.0.4.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/dom4j-1.6.1.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/ejb3-persistence.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/hibernate-annotations.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/hibernate-commons-annotations.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/hibernate-entitymanager.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/javassist.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/jboss-annotations-ejb3.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/jboss-archive-browsing.jar"/> | ||
<classpathentry kind="lib" path="lib/testlibs/jboss-ejb3x.jar"/> | ||
<classpathentry kind="lib" path="etc"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/antlr-2.7.6.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ant-1.6.5.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/cglib-2.1.3.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/junit-3.8.1.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ant-antlr-1.6.5.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ant-junit-1.6.5.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ant-launcher-1.6.5.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ant-swing-1.6.5.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/asm-attrs.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/asm.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/c3p0-0.9.1.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/checkstyle-all.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/cleanimports.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/commons-logging-1.0.4.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/concurrent-1.3.2.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/dom4j-1.6.1.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/ehcache-1.2.3.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jaas.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jacc-1_0-fr.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/javassist.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jaxen-1.1-beta-7.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jboss-cache.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jboss-common.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jboss-jmx.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jboss-system.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jgroups-2.2.8.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/jta.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/oscache-2.1.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/proxool-0.8.3.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/swarmcache-1.0rc2.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/syndiag2.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/versioncheck.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/xerces-2.6.2.jar"/> | ||
<classpathentry kind="lib" path="/hibernate-3.2/lib/xml-apis.jar"/> | ||
<classpathentry kind="lib" path="C:/work/products/hibernate-distribution-3.3.2.GA/lib/required/slf4j-api-1.5.8.jar"/> | ||
<classpathentry kind="lib" path="C:/work/products/slf4j-1.5.10/slf4j-log4j12-1.5.10.jar"/> | ||
<classpathentry kind="lib" path="C:/work/products/hibernate-distribution-3.3.2.GA/lib/required/commons-collections-3.1.jar"/> | ||
<classpathentry kind="lib" path="C:/work/products/hibernate-distribution-3.3.2.GA/hibernate3.jar" sourcepath="C:/work/products/hibernate-distribution-3.3.2.GA/project"/> | ||
<classpathentry kind="lib" path="C:/work/products/apache-log4j-1.2.15/log4j-1.2.15.jar"/> | ||
<classpathentry kind="lib" path="lib/jdbc/hsqldb.jar"/> | ||
<classpathentry kind="output" path="build/eclipseclasses"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
build | ||
target | ||
hbm2xoutput | ||
eclipsebuild | ||
cfg2hbmoutput | ||
reverseoutput | ||
test_output | ||
.settings | ||
.classpath | ||
.project | ||
test.lck | ||
test.log | ||
test.properties | ||
test.script | ||
cloverout | ||
clover_coverage.db* | ||
toolstestoutput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>hibernateext.tools</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!-- | ||
HibernateTools ANT build script. | ||
--> | ||
|
||
<project name="HibernateTools" default="dist" basedir="."> | ||
|
||
<!-- Name of project and version, used to create filenames --> | ||
<property name="Name" value="Hibernate Tools"/> | ||
<property name="name" value="hibernate-tools"/> | ||
<property name="version" value="3.3.0.GA"/> | ||
|
||
<property name="javadoc.packagenames" value="org.hibernate.tool"/> | ||
|
||
<property name="copy.doc" value="true"/> | ||
|
||
<import file="../common/common-build.xml"/> | ||
|
||
<property name="jdbc.driver.jar" location="lib/jdbc/hsqldb.jar"/> | ||
|
||
<path id="testsrc.path"> | ||
<pathelement location="${test.dir}"/> | ||
<pathelement location="src/testsupport"/> | ||
</path> | ||
|
||
<path id="junit.moduleclasspath"> | ||
<pathelement location="etc"/> | ||
<pathelement location="lib/testlibs/org.eclipse.jdt.core_3.1.0.jar"/> | ||
<!-- remove hibernate-annotations.jar when migrating to maven --> | ||
<pathelement location="lib/testlibs/hibernate-annotations.jar"/> | ||
<pathelement location="${jdbc.driver.jar}"/> | ||
<path refid="testsrc.path"/> | ||
<pathelement location="${java.home}\..\lib\tools.jar"/> | ||
</path> | ||
|
||
<!-- set global properties for this build --> | ||
<property name="template.dir" value="src/templates"/> | ||
<property name="dist.template.dir" value="${dist.dir}/src/templates"/> | ||
|
||
<target name="copysource" description="Copy sources to dist dir" depends="common-build.copysource"> | ||
<mkdir dir="${dist.template.dir}"/> | ||
</target> | ||
|
||
|
||
<target name="junit"> | ||
<delete dir="testdb" failonerror="yes"/> | ||
<antcall target="common-build.junit"/> | ||
</target> | ||
|
||
<target name="compile" depends="common-build.compile"> | ||
<copy todir="${classes.dir}"> | ||
<fileset dir="${template.dir}"/> | ||
</copy> | ||
|
||
<copy todir="${classes.dir}"> | ||
<fileset dir="${src.dir}" includes="**/*jtidy.properties"/> | ||
</copy> | ||
</target> | ||
|
||
<target name="compiletest" depends="common-build.compiletest"> | ||
<copy todir="${testclasses.dir}"> | ||
<fileset dir="src/test"> | ||
<exclude name="**/*.java"/> | ||
</fileset> | ||
</copy> | ||
|
||
<copy todir="${testclasses.dir}"> | ||
<fileset dir="src/testsupport"/> | ||
</copy> | ||
|
||
<copy todir="${testclasses.dir}"> | ||
<fileset dir="src/testoutputdependent"/> | ||
</copy> | ||
<copy todir="${testclasses.dir}"> | ||
<fileset dir="${src.dir}" includes="**/*jtidy.properties"/> | ||
</copy> | ||
</target> | ||
|
||
<target name="dist" depends="jartest,common-build.dist"/> | ||
|
||
<!-- <target name="genjar" depends="init"> | ||
<taskdef resource="genjar.properties" classpath="C:\work\products\GenJar\genjar.jar"/> | ||
<genjar jarfile="${hibernate-core.jar}"> | ||
<class name="org.hibernate.impl.SessionImpl"/> | ||
<classpath id="lib.class.path"/> | ||
</genjar> | ||
</target> --> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
Hibernate Tools Changelog | ||
========================= | ||
|
||
Changes in version 3.2beta9 | ||
--------------------------- | ||
|
||
Changes in version 3.2alpha7 | ||
---------------------------- | ||
|
||
Changes in version 3.1alpha6 | ||
---------------------------- | ||
|
||
Changes in version 3.1alpha5 | ||
---------------------------- | ||
|
||
* [HBX-365] - basic toString-Method | ||
* [HBX-315] - Wrong java type chosen for CHAR(n) columns | ||
|
||
Changes in version 3.0alpha4 | ||
---------------------------- | ||
|
||
* fixed bug in cfg.xml exporter | ||
* fixed bug in rev.eng DTD | ||
|
||
Changes in version 3.0alpha3 | ||
---------------------------- | ||
|
||
* DocExporter which generates html based doc of database schema | ||
* table name completion if project has Hibernate 3 enabled (Under project properties) | ||
* .reveng.xml can now be used to control which tables will be included in reverse engineering | ||
* lots of bug fixes | ||
|
||
Changes in version 3.0alpha2 | ||
--------------------------- | ||
|
||
* added new ant tasks | ||
* improved ejb3 in pojo generation (Thanks Marshall) | ||
* xml postprocessed with jtidy to make clean output | ||
* fixed bugs | ||
|
||
Changes in version 3.0alpha1 | ||
--------------------------- | ||
|
||
* hbm2java reworked to use hibernate core engine and being template based. | ||
- most features are available. | ||
|
||
Changes in version 2.1.3 | ||
------------------------ | ||
|
||
* added support for generating empty concrete class for a Base class. | ||
* added support for <parent> in <composite-element> | ||
* added meta class-code, extra-import attributes | ||
* hbm2java no longer generates automatically an equals()/hashcode() set unless the class has a composite id or the class is a composite. | ||
- use meta implement-equals attribute to enable generating equals()/hashcode() + mark relevant properties with meta use-in-equals attribute. | ||
* added meta use-in-equals attribute. | ||
|
||
Changes in version 2.1.2 | ||
------------------------ | ||
|
||
* hbm2java now validates the hbm.xml files | ||
* hbm2java now have an Velocity based renderer | ||
* Renderer's can now be configured with <param> tags | ||
* Refactored the "source model" hbm2java uses. | ||
+ now all elements have access to their corresponding XML data. Can be used to access all the information that are not otherwise directly available. | ||
|
||
Changes in version 2.0.1 | ||
------------------------ | ||
|
||
* hbm2java now supports the defining subclass and joined-subclass externally from it's superclass (e.g. in another hbm.xml file) | ||
* Fixed bug in deciding if POJO needed a minimalconstructor ;) | ||
* Added support for CompositeUserType | ||
* bounded and constraint changeevents is now correctly sending old and new values. (Shane Day, HB-275) | ||
* now uses "finder-method" instead of just "finder" for finder generation. | ||
* bag's are now generated as java.util.List instead of more generic Collections. | ||
If you want the old behavior back then set system property "hbm2java.bag.interface" to | ||
java.util.Collection (or whatever other class/interface you want for bag ;) | ||
* hbm2java only generate isX() for primitive boolean types. | ||
|
||
Changes in version 2.0 (03.6.2003) | ||
---------------------------------- | ||
|
||
* initial checkin |
Oops, something went wrong.