Hibernate SVN: r13027 - validator/trunk and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:38 -0400 (Wed, 15 Aug 2007)
New Revision: 13027
Added:
validator/trunk/doc/
Removed:
trunk/HibernateExt/validator/doc/
Log:
Move validator trunk to the new structure
Copied: validator/trunk/doc (from rev 13026, trunk/HibernateExt/validator/doc)
17 years, 4 months
Hibernate SVN: r13026 - validator/trunk and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:35 -0400 (Wed, 15 Aug 2007)
New Revision: 13026
Added:
validator/trunk/changelog.txt
Removed:
trunk/HibernateExt/validator/changelog.txt
Log:
Move validator trunk to the new structure
Deleted: trunk/HibernateExt/validator/changelog.txt
===================================================================
--- trunk/HibernateExt/validator/changelog.txt 2007-08-15 23:59:31 UTC (rev 13025)
+++ trunk/HibernateExt/validator/changelog.txt 2007-08-15 23:59:35 UTC (rev 13026)
@@ -1,23 +0,0 @@
-Hibernate Validator Changelog
-=============================
-
-3.0.0.GA (19-03-2007)
----------------------
-
-Initial release as a standalone product (see Hibernate Annotations changelog for previous informations)
-
-** Bug
- * [HV-2] - Deprecate String support for both @Past and @Future validating Strings
- * [HV-3] - @Email fail on empty strings
- * [HV-7] - Two level @Valid annotation doesn't work
-
-
-** Improvement
- * [HV-5] - Multiple validators of the same type per element (John Gilbert)
-
-** New Feature
- * [HV-1] - Make ClassValidator independent of Hibernate Annotations
- * [HV-6] - @EAN
- * [HV-8] - Make Validator support pure JavaPersistence players
- * [HV-9] - @Digits(integerDigits, fractionalDigits)
- * [HV-10] - @CreditCardNumber for Hibernate Validator
Copied: validator/trunk/changelog.txt (from rev 13025, trunk/HibernateExt/validator/changelog.txt)
===================================================================
--- validator/trunk/changelog.txt (rev 0)
+++ validator/trunk/changelog.txt 2007-08-15 23:59:35 UTC (rev 13026)
@@ -0,0 +1,23 @@
+Hibernate Validator Changelog
+=============================
+
+3.0.0.GA (19-03-2007)
+---------------------
+
+Initial release as a standalone product (see Hibernate Annotations changelog for previous informations)
+
+** Bug
+ * [HV-2] - Deprecate String support for both @Past and @Future validating Strings
+ * [HV-3] - @Email fail on empty strings
+ * [HV-7] - Two level @Valid annotation doesn't work
+
+
+** Improvement
+ * [HV-5] - Multiple validators of the same type per element (John Gilbert)
+
+** New Feature
+ * [HV-1] - Make ClassValidator independent of Hibernate Annotations
+ * [HV-6] - @EAN
+ * [HV-8] - Make Validator support pure JavaPersistence players
+ * [HV-9] - @Digits(integerDigits, fractionalDigits)
+ * [HV-10] - @CreditCardNumber for Hibernate Validator
17 years, 4 months
Hibernate SVN: r13025 - validator/trunk and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:31 -0400 (Wed, 15 Aug 2007)
New Revision: 13025
Added:
validator/trunk/build.xml
Removed:
trunk/HibernateExt/validator/build.xml
Log:
Move validator trunk to the new structure
Deleted: trunk/HibernateExt/validator/build.xml
===================================================================
--- trunk/HibernateExt/validator/build.xml 2007-08-15 23:59:23 UTC (rev 13024)
+++ trunk/HibernateExt/validator/build.xml 2007-08-15 23:59:31 UTC (rev 13025)
@@ -1,300 +0,0 @@
-<!--
-
- Hibernate Annotations ANT build script.
-
- You need JDK 5.0 installed to build Hibernate Annotations.
-
--->
-
-<!-- To add a dependency:
- defines the dependency.jar property that points to the expected jar file
- in init, add an available dependency.jar and populate dependency.jar.available
- create a target get.dependency which calls clean and jar
- add get.depdendecy to depends= for compile or compiletest
- alter lib.moduleclass.path or junit.moduleclasspath accordingly
--->
-
-<project name="Hibernate Validator" default="dist" basedir="."
- xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
-
- <!-- Give user a chance to override without editing this file
- (and without typing -D each time it compiles it) -->
- <property file="build.properties"/>
- <property file="${user.home}/.ant.properties"/>
-
- <!-- Name of project and version, used to create filenames -->
- <property name="Name" value="Hibernate Validator"/>
- <property name="name" value="hibernate-validator"/>
- <property name="version" value="3.0.0.GA"/>
- <property name="javadoc.packagenames" value="org.hibernate.validator.*"/>
- <property name="copy.test" value="true"/>
- <property name="javac.source" value="1.5"/>
- <property name="javac.target" value="1.5"/>
- <property name="jdbc.dir" value="jdbc"/>
- <property name="common.dir" value="${basedir}/../common"/>
-
- <property name="ivy.dep.dir" value="${basedir}/build/lib" />
-
- <!-- dependencies -->
- <!-- property name="jpa-api.jar" value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
- <property name="annotations.jar"
- value="${basedir}/../annotations/target/hibernate-annotations/hibernate-annotations.jar"/>
- <property name="jpa.jar"
- value="${basedir}/../entitymanager/target/hibernate-entitymanager/hibernate-entitymanager.jar"/>
- <property name="archive-browsing.jar"
- value="${basedir}/../entitymanager/lib/jboss-archive-browsing.jar"/>
- <property name="commons-annotations.jar"
- value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/ -->
-
- <import file="${common.dir}/common-build.xml"/>
-
-
- <path id="lib.moduleclass.path">
- <!-- pathelement location="${jpa-api.jar}"/>
- <pathelement location="${commons-annotations.jar}"/ -->
- <fileset dir="${ivy.dep.dir}/core">
- <include name="*.jar"/>
- </fileset>
- </path>
- <path id="junit.moduleclasspath">
- <pathelement location="${src.dir}"/>
- <pathelement location="${test.dir}"/>
- <!-- pathelement location="${annotations.jar}"/>
- <pathelement location="${jpa.jar}"/>
- <pathelement location="${archive-browsing.jar}"/ -->
- <fileset dir="${ivy.dep.dir}/test">
- <include name="*.jar"/>
- </fileset>
- <fileset dir="${jdbc.dir}">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
- <fileset dir="${lib.dir}/test">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
- </path>
-
- <!-- ivy load -->
- <property name="ivy.jar.dir" value="${basedir}/ivy" />
- <property name="ivy.conf.dir" value="${basedir}" />
- <path id="ivy.lib.path">
- <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
- </path>
- <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
- uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
-
- <target name="init">
- <antcall target="common-build.init"/>
- <tstamp>
- <format property="now" pattern="yyyyMMddhhmmss"/>
- </tstamp>
- <!-- check for dependency artefacts -->
- <!-- available file="${jpa-api.jar}" type="file" property="jpa-api.jar.available"/>
- <available file="${commons-annotations.jar}" type="file" property="commons-annotations.jar.available"/>
- <available file="${annotations.jar}" type="file" property="annotations.jar.available"/>
- <available file="${jpa.jar}" type="file" property="jpa.jar.available"/ -->
- <mkdir dir="${ivy.dep.dir}/core"/>
- <mkdir dir="${ivy.dep.dir}/test"/>
- <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
- <mkdir dir="${lib.dir}/test"/>
- </target>
-
- <!-- target name="get.jpa-api" depends="init" unless="jpa-api.jar.available">
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../jpa-api" target="jar"/>
- </target>
-
- <target name="get.commons-annotations" depends="init" unless="commons-annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../commons-annotations" target="jar"/>
- </target>
-
- <target name="get.annotations" depends="init" unless="annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../annotations" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../annotations" target="jar"/>
- </target>
-
- <target name="get.jpa" depends="init" unless="jpa.jar.available">
- <ant inheritall="false" dir="${basedir}/../entitymanager" target="clean"/>
- <ant inheritall="false" dir="${basedir}/../entitymanager" target="jar"/>
- </target -->
-
- <target name="get.deps.core" depends="init" description="retrieve the core dependencies">
- <ivy:resolve conf="core" />
- <ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]" conf="core" />
- </target>
-
- <target name="compile" depends="init,get.deps.core" description="Compile the Java source code">
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- srcdir="${src.dir}"
- destdir="${classes.dir}"
- classpathref="lib.class.path"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- nowarn="on"
- source="${javac.source}"
- target="${javac.target}">
- <src path="${src.dir}"/>
- </javac>
- <copy todir="${classes.dir}">
- <fileset dir="${src.dir}">
- <include name="**/resources/*.properties"/>
- <include name="**/*.xsd"/>
- </fileset>
- </copy>
- </target>
-
- <target name="get.deps.test" depends="init" description="retrieve the test dependencies">
- <ivy:resolve conf="test" />
- <ivy:retrieve pattern="${ivy.dep.dir}/test/[artifact].[ext]" conf="test" />
- </target>
-
- <target name="compiletest" depends="init,get.deps.test,compile" description="Compile the tests">
- <available
- classname="org.eclipse.core.launcher.Main"
- property="build.compiler"
- value="org.eclipse.jdt.core.JDTCompilerAdapter"
- classpath="${java.class.path}"/>
- <javac
- destdir="${testclasses.dir}"
- classpathref="junit.classpath"
- debug="${javac.debug}"
- optimize="${javac.optimize}"
- nowarn="on"
- source="1.5"
- target="1.5">
- <src refid="testsrc.path"/>
- </javac>
- </target>
-
-
- <!-- target name="junit" depends="compiletest">
- <mkdir dir="test_output"/>
- <junit fork="yes" printsummary="yes" haltonfailure="yes"
- forkmode="perBatch">
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <path refid="lib.class.path"/>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${src.dir}"/>
- <pathelement path="${test.dir}"/>
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <batchtest fork="yes" todir="test_output" haltonfailure="no">
- <fileset dir="${classes.dir}">
- <include name="**/*Test.class"/>
- </fileset>
- </batchtest>
- </junit>
- </target -->
-
- <!-- Run a single unit test. -->
- <target name="junitsingle" depends="compiletest"
- description="Run a single test suite (requires testname and jdbc.driver properties)">
- <mkdir dir="test_output"/>
- <junit printsummary="yes" fork="yes" haltonfailure="yes">
- <classpath>
- <fileset dir="${jdbc.dir}">
- <include name="**/*.jar"/>
- <include name="**/*.zip"/>
- </fileset>
- <path refid="lib.class.path"/>
- <pathelement path="${classes.dir}"/>
- <pathelement path="${src.dir}"/>
- <!-- pick up properties from here -->
- <pathelement path="${test.dir}"/>
- <!-- pick up mappings from here -->
- </classpath>
- <formatter type="plain"/>
- <formatter type="xml"/>
- <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
- </junit>
- </target>
-
- <!-- target name="report">
- <mkdir dir="test_output"/>
- <junitreport todir="test_output">
- <fileset dir="test_output">
- <include name="TEST-*.xml"/>
- </fileset>
- <report format="frames" todir="test_output/report"/>
- </junitreport>
- </target -->
-
- <target name="jar" depends="compile" description="Build the distribution .jar file">
- <mkdir dir="${classes.dir}/META-INF"/>
- <manifest file="${classes.dir}/META-INF/MANIFEST.MF">
- <attribute name="Implementation-Title" value="${Name}"/>
- <attribute name="Implementation-Version" value="${version}"/>
- <attribute name="Implementation-Vendor" value="hibernate.org"/>
- <attribute name="Implementation-Vendor-Id" value="hibernate.org"/>
- <attribute name="Implementation-URL" value="http://validator.hibernate.org"/>
- </manifest>
- <antcall target="common-build.jar"/>
- <ivy:resolve conf="core"/>
- <ivy:publish artifactspattern="${dist.dir}/[artifact].[ext]"
- resolver="local"
- pubrevision="latest"
- pubdate="${now}"
- status="integration"
- />
- </target>
-
- <!-- Some of this can probably be moved to common-build... -->
- <target name="dist" depends="get.deps.core,get.deps.test,jar,javadoc,copysource,copytest,copylib,extras"
- description="Build everything">
-
- <ant inheritall="false" dir="${basedir}/doc/reference"/>
- <copy todir="${dist.dir}/doc/reference" failonerror="false">
- <fileset dir="${basedir}/doc/reference/build">
- <include name="**/*.*"/>
- </fileset>
- </copy>
-
- <copy todir="${dist.dir}" failonerror="false">
- <fileset dir="${common.dir}">
- <include name="common-build.xml"/>
- </fileset>
- </copy>
-
- <!-- copy dependencies -->
- <copy todir="${dist.lib.dir}" failonerror="false">
- <!-- fileset file="${jpa-api.jar}"/>
- <fileset file="${commons-annotations.jar}"/ -->
- <fileset dir="${ivy.dep.dir}/core">
- <include name="*.jar"/>
- </fileset>
- </copy>
- <mkdir dir="${dist.lib.dir}/test"/>
- <copy todir="${dist.lib.dir}/test" failonerror="false">
- <fileset dir="${ivy.dep.dir}/test">
- <include name="*.jar"/>
- </fileset>
- </copy>
-
- <copy file="${basedir}/build.properties.dist" tofile="${dist.dir}/build.properties" failonerror="false">
- </copy>
- <antcall target="common-build.dist"/>
- </target>
-
- <target name="zip-dist" description="zip the dist">
- <zip zipfile="${dist.dir}-${version}.zip">
- <zipfileset prefix="${name}-${version}" dir="${dist.dir}"/>
- </zip>
- <tar compression="gzip" tarfile="${dist.dir}-${version}.tar.gz">
- <tarfileset prefix="${name}-${version}" dir="${dist.dir}"/>
- </tar>
- </target>
-
-
-</project>
Copied: validator/trunk/build.xml (from rev 13024, trunk/HibernateExt/validator/build.xml)
===================================================================
--- validator/trunk/build.xml (rev 0)
+++ validator/trunk/build.xml 2007-08-15 23:59:31 UTC (rev 13025)
@@ -0,0 +1,300 @@
+<!--
+
+ Hibernate Annotations ANT build script.
+
+ You need JDK 5.0 installed to build Hibernate Annotations.
+
+-->
+
+<!-- To add a dependency:
+ defines the dependency.jar property that points to the expected jar file
+ in init, add an available dependency.jar and populate dependency.jar.available
+ create a target get.dependency which calls clean and jar
+ add get.depdendecy to depends= for compile or compiletest
+ alter lib.moduleclass.path or junit.moduleclasspath accordingly
+-->
+
+<project name="Hibernate Validator" default="dist" basedir="."
+ xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+
+ <!-- Give user a chance to override without editing this file
+ (and without typing -D each time it compiles it) -->
+ <property file="build.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Name of project and version, used to create filenames -->
+ <property name="Name" value="Hibernate Validator"/>
+ <property name="name" value="hibernate-validator"/>
+ <property name="version" value="3.0.0.GA"/>
+ <property name="javadoc.packagenames" value="org.hibernate.validator.*"/>
+ <property name="copy.test" value="true"/>
+ <property name="javac.source" value="1.5"/>
+ <property name="javac.target" value="1.5"/>
+ <property name="jdbc.dir" value="jdbc"/>
+ <property name="common.dir" value="${basedir}/../common"/>
+
+ <property name="ivy.dep.dir" value="${basedir}/build/lib" />
+
+ <!-- dependencies -->
+ <!-- property name="jpa-api.jar" value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
+ <property name="annotations.jar"
+ value="${basedir}/../annotations/target/hibernate-annotations/hibernate-annotations.jar"/>
+ <property name="jpa.jar"
+ value="${basedir}/../entitymanager/target/hibernate-entitymanager/hibernate-entitymanager.jar"/>
+ <property name="archive-browsing.jar"
+ value="${basedir}/../entitymanager/lib/jboss-archive-browsing.jar"/>
+ <property name="commons-annotations.jar"
+ value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/ -->
+
+ <import file="${common.dir}/common-build.xml"/>
+
+
+ <path id="lib.moduleclass.path">
+ <!-- pathelement location="${jpa-api.jar}"/>
+ <pathelement location="${commons-annotations.jar}"/ -->
+ <fileset dir="${ivy.dep.dir}/core">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ <path id="junit.moduleclasspath">
+ <pathelement location="${src.dir}"/>
+ <pathelement location="${test.dir}"/>
+ <!-- pathelement location="${annotations.jar}"/>
+ <pathelement location="${jpa.jar}"/>
+ <pathelement location="${archive-browsing.jar}"/ -->
+ <fileset dir="${ivy.dep.dir}/test">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${jdbc.dir}">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ <fileset dir="${lib.dir}/test">
+ <include name="*.jar"/>
+ <include name="*.zip"/>
+ </fileset>
+ </path>
+
+ <!-- ivy load -->
+ <property name="ivy.jar.dir" value="${basedir}/ivy" />
+ <property name="ivy.conf.dir" value="${basedir}" />
+ <path id="ivy.lib.path">
+ <fileset dir="${ivy.jar.dir}" includes="*.jar"/>
+ </path>
+ <taskdef resource="fr/jayasoft/ivy/ant/antlib.xml"
+ uri="antlib:fr.jayasoft.ivy.ant" classpathref="ivy.lib.path"/>
+
+ <target name="init">
+ <antcall target="common-build.init"/>
+ <tstamp>
+ <format property="now" pattern="yyyyMMddhhmmss"/>
+ </tstamp>
+ <!-- check for dependency artefacts -->
+ <!-- available file="${jpa-api.jar}" type="file" property="jpa-api.jar.available"/>
+ <available file="${commons-annotations.jar}" type="file" property="commons-annotations.jar.available"/>
+ <available file="${annotations.jar}" type="file" property="annotations.jar.available"/>
+ <available file="${jpa.jar}" type="file" property="jpa.jar.available"/ -->
+ <mkdir dir="${ivy.dep.dir}/core"/>
+ <mkdir dir="${ivy.dep.dir}/test"/>
+ <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
+ <mkdir dir="${lib.dir}/test"/>
+ </target>
+
+ <!-- target name="get.jpa-api" depends="init" unless="jpa-api.jar.available">
+ <ant inheritall="false" dir="${basedir}/../jpa-api" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../jpa-api" target="jar"/>
+ </target>
+
+ <target name="get.commons-annotations" depends="init" unless="commons-annotations.jar.available">
+ <ant inheritall="false" dir="${basedir}/../commons-annotations" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../commons-annotations" target="jar"/>
+ </target>
+
+ <target name="get.annotations" depends="init" unless="annotations.jar.available">
+ <ant inheritall="false" dir="${basedir}/../annotations" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../annotations" target="jar"/>
+ </target>
+
+ <target name="get.jpa" depends="init" unless="jpa.jar.available">
+ <ant inheritall="false" dir="${basedir}/../entitymanager" target="clean"/>
+ <ant inheritall="false" dir="${basedir}/../entitymanager" target="jar"/>
+ </target -->
+
+ <target name="get.deps.core" depends="init" description="retrieve the core dependencies">
+ <ivy:resolve conf="core" />
+ <ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]" conf="core" />
+ </target>
+
+ <target name="compile" depends="init,get.deps.core" description="Compile the Java source code">
+ <available
+ classname="org.eclipse.core.launcher.Main"
+ property="build.compiler"
+ value="org.eclipse.jdt.core.JDTCompilerAdapter"
+ classpath="${java.class.path}"/>
+ <javac
+ srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="lib.class.path"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="${javac.source}"
+ target="${javac.target}">
+ <src path="${src.dir}"/>
+ </javac>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}">
+ <include name="**/resources/*.properties"/>
+ <include name="**/*.xsd"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="get.deps.test" depends="init" description="retrieve the test dependencies">
+ <ivy:resolve conf="test" />
+ <ivy:retrieve pattern="${ivy.dep.dir}/test/[artifact].[ext]" conf="test" />
+ </target>
+
+ <target name="compiletest" depends="init,get.deps.test,compile" description="Compile the tests">
+ <available
+ classname="org.eclipse.core.launcher.Main"
+ property="build.compiler"
+ value="org.eclipse.jdt.core.JDTCompilerAdapter"
+ classpath="${java.class.path}"/>
+ <javac
+ destdir="${testclasses.dir}"
+ classpathref="junit.classpath"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="1.5"
+ target="1.5">
+ <src refid="testsrc.path"/>
+ </javac>
+ </target>
+
+
+ <!-- target name="junit" depends="compiletest">
+ <mkdir dir="test_output"/>
+ <junit fork="yes" printsummary="yes" haltonfailure="yes"
+ forkmode="perBatch">
+ <classpath>
+ <fileset dir="${jdbc.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.zip"/>
+ </fileset>
+ <path refid="lib.class.path"/>
+ <pathelement path="${classes.dir}"/>
+ <pathelement path="${src.dir}"/>
+ <pathelement path="${test.dir}"/>
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <batchtest fork="yes" todir="test_output" haltonfailure="no">
+ <fileset dir="${classes.dir}">
+ <include name="**/*Test.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target -->
+
+ <!-- Run a single unit test. -->
+ <target name="junitsingle" depends="compiletest"
+ description="Run a single test suite (requires testname and jdbc.driver properties)">
+ <mkdir dir="test_output"/>
+ <junit printsummary="yes" fork="yes" haltonfailure="yes">
+ <classpath>
+ <fileset dir="${jdbc.dir}">
+ <include name="**/*.jar"/>
+ <include name="**/*.zip"/>
+ </fileset>
+ <path refid="lib.class.path"/>
+ <pathelement path="${classes.dir}"/>
+ <pathelement path="${src.dir}"/>
+ <!-- pick up properties from here -->
+ <pathelement path="${test.dir}"/>
+ <!-- pick up mappings from here -->
+ </classpath>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
+ </junit>
+ </target>
+
+ <!-- target name="report">
+ <mkdir dir="test_output"/>
+ <junitreport todir="test_output">
+ <fileset dir="test_output">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames" todir="test_output/report"/>
+ </junitreport>
+ </target -->
+
+ <target name="jar" depends="compile" description="Build the distribution .jar file">
+ <mkdir dir="${classes.dir}/META-INF"/>
+ <manifest file="${classes.dir}/META-INF/MANIFEST.MF">
+ <attribute name="Implementation-Title" value="${Name}"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ <attribute name="Implementation-Vendor" value="hibernate.org"/>
+ <attribute name="Implementation-Vendor-Id" value="hibernate.org"/>
+ <attribute name="Implementation-URL" value="http://validator.hibernate.org"/>
+ </manifest>
+ <antcall target="common-build.jar"/>
+ <ivy:resolve conf="core"/>
+ <ivy:publish artifactspattern="${dist.dir}/[artifact].[ext]"
+ resolver="local"
+ pubrevision="latest"
+ pubdate="${now}"
+ status="integration"
+ />
+ </target>
+
+ <!-- Some of this can probably be moved to common-build... -->
+ <target name="dist" depends="get.deps.core,get.deps.test,jar,javadoc,copysource,copytest,copylib,extras"
+ description="Build everything">
+
+ <ant inheritall="false" dir="${basedir}/doc/reference"/>
+ <copy todir="${dist.dir}/doc/reference" failonerror="false">
+ <fileset dir="${basedir}/doc/reference/build">
+ <include name="**/*.*"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${dist.dir}" failonerror="false">
+ <fileset dir="${common.dir}">
+ <include name="common-build.xml"/>
+ </fileset>
+ </copy>
+
+ <!-- copy dependencies -->
+ <copy todir="${dist.lib.dir}" failonerror="false">
+ <!-- fileset file="${jpa-api.jar}"/>
+ <fileset file="${commons-annotations.jar}"/ -->
+ <fileset dir="${ivy.dep.dir}/core">
+ <include name="*.jar"/>
+ </fileset>
+ </copy>
+ <mkdir dir="${dist.lib.dir}/test"/>
+ <copy todir="${dist.lib.dir}/test" failonerror="false">
+ <fileset dir="${ivy.dep.dir}/test">
+ <include name="*.jar"/>
+ </fileset>
+ </copy>
+
+ <copy file="${basedir}/build.properties.dist" tofile="${dist.dir}/build.properties" failonerror="false">
+ </copy>
+ <antcall target="common-build.dist"/>
+ </target>
+
+ <target name="zip-dist" description="zip the dist">
+ <zip zipfile="${dist.dir}-${version}.zip">
+ <zipfileset prefix="${name}-${version}" dir="${dist.dir}"/>
+ </zip>
+ <tar compression="gzip" tarfile="${dist.dir}-${version}.tar.gz">
+ <tarfileset prefix="${name}-${version}" dir="${dist.dir}"/>
+ </tar>
+ </target>
+
+
+</project>
17 years, 4 months
Hibernate SVN: r13024 - validator.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:23 -0400 (Wed, 15 Aug 2007)
New Revision: 13024
Added:
validator/branches/
Log:
Create validator structure
17 years, 4 months
Hibernate SVN: r13023 - validator.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:21 -0400 (Wed, 15 Aug 2007)
New Revision: 13023
Added:
validator/tags/
Log:
Create validator structure
17 years, 4 months
Hibernate SVN: r13022 - validator.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:19 -0400 (Wed, 15 Aug 2007)
New Revision: 13022
Added:
validator/trunk/
Log:
Create validator structure
17 years, 4 months
Hibernate SVN: r13021 - /.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:15 -0400 (Wed, 15 Aug 2007)
New Revision: 13021
Added:
validator/
Log:
Create validator structure
17 years, 4 months
Hibernate SVN: r13020 - trunk/HibernateExt/search and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:13 -0400 (Wed, 15 Aug 2007)
New Revision: 13020
Added:
search/trunk/ivy.xml
Removed:
trunk/HibernateExt/search/ivy.xml
Log:
Move search trunk to the new structure
Copied: search/trunk/ivy.xml (from rev 13019, trunk/HibernateExt/search/ivy.xml)
===================================================================
--- search/trunk/ivy.xml (rev 0)
+++ search/trunk/ivy.xml 2007-08-15 23:59:13 UTC (rev 13020)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ivy-module version="1.3"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation=
+ "http://www.jayasoft.org/misc/ivy/ivy.xsd">
+ <info organisation="org.hibernate" module="search"/>
+ <configurations>
+ <conf name="core" description="Core module dependencies"/>
+ <conf name="test" visibility="private" description="Dependencies needed for testing purposes"/>
+ </configurations>
+ <publications>
+ <artifact name="hibernate-search" conf="core"/>
+ </publications>
+ <dependencies>
+ <dependency name="jpa-api" rev="1.0.0.GA" conf="core->default"/>
+ <dependency name="commons-annotations" rev="3.0.0.GA" conf="core->core"/>
+ <dependency name="entitymanager" rev="3.3.1.GA" conf="test->core"/>
+ </dependencies>
+</ivy-module>
\ No newline at end of file
Deleted: trunk/HibernateExt/search/ivy.xml
===================================================================
--- trunk/HibernateExt/search/ivy.xml 2007-08-15 23:59:05 UTC (rev 13019)
+++ trunk/HibernateExt/search/ivy.xml 2007-08-15 23:59:13 UTC (rev 13020)
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ivy-module version="1.3"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation=
- "http://www.jayasoft.org/misc/ivy/ivy.xsd">
- <info organisation="org.hibernate" module="search"/>
- <configurations>
- <conf name="core" description="Core module dependencies"/>
- <conf name="test" visibility="private" description="Dependencies needed for testing purposes"/>
- </configurations>
- <publications>
- <artifact name="hibernate-search" conf="core"/>
- </publications>
- <dependencies>
- <dependency name="jpa-api" rev="1.0.0.GA" conf="core->default"/>
- <dependency name="commons-annotations" rev="3.0.0.GA" conf="core->core"/>
- <dependency name="entitymanager" rev="3.3.1.GA" conf="test->core"/>
- </dependencies>
-</ivy-module>
\ No newline at end of file
17 years, 4 months
Hibernate SVN: r13019 - trunk/HibernateExt/search and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:59:05 -0400 (Wed, 15 Aug 2007)
New Revision: 13019
Added:
search/trunk/ivy/
Removed:
trunk/HibernateExt/search/ivy/
Log:
Move search trunk to the new structure
Copied: search/trunk/ivy (from rev 13018, trunk/HibernateExt/search/ivy)
17 years, 4 months
Hibernate SVN: r13018 - trunk/HibernateExt/search and 1 other directory.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 19:58:35 -0400 (Wed, 15 Aug 2007)
New Revision: 13018
Added:
search/trunk/build.properties.dist
Removed:
trunk/HibernateExt/search/build.properties.dist
Log:
Move search trunk to the new structure
Copied: search/trunk/build.properties.dist (from rev 13017, trunk/HibernateExt/search/build.properties.dist)
===================================================================
--- search/trunk/build.properties.dist (rev 0)
+++ search/trunk/build.properties.dist 2007-08-15 23:58:35 UTC (rev 13018)
@@ -0,0 +1,12 @@
+common.dir=.
+src.dir=src
+test.dir=test
+testresources.dir=test-resources
+hibernate-core.home=../hibernate-3.2
+
+#locally present jars
+jpa-api.jar=./lib/ejb3-persistence.jar
+commons-annotations.jar=./lib/hibernate-commons-annotations.jar
+annotations.jar=./lib/test/hibernate-annotations.jar
+entitymanager.jar=./lib/test/hibernate-entitymanager.jar
+validator.jar=./lib/test/hibernate-validator.jar
\ No newline at end of file
Deleted: trunk/HibernateExt/search/build.properties.dist
===================================================================
--- trunk/HibernateExt/search/build.properties.dist 2007-08-15 23:58:19 UTC (rev 13017)
+++ trunk/HibernateExt/search/build.properties.dist 2007-08-15 23:58:35 UTC (rev 13018)
@@ -1,12 +0,0 @@
-common.dir=.
-src.dir=src
-test.dir=test
-testresources.dir=test-resources
-hibernate-core.home=../hibernate-3.2
-
-#locally present jars
-jpa-api.jar=./lib/ejb3-persistence.jar
-commons-annotations.jar=./lib/hibernate-commons-annotations.jar
-annotations.jar=./lib/test/hibernate-annotations.jar
-entitymanager.jar=./lib/test/hibernate-entitymanager.jar
-validator.jar=./lib/test/hibernate-validator.jar
\ No newline at end of file
17 years, 4 months