Hibernate SVN: r13057 - jpa-api/tags/annotations_v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:57 -0400 (Wed, 15 Aug 2007)
New Revision: 13057
Added:
jpa-api/tags/annotations_v3_3_0_GA/build.xml
Log:
Move jpa-api tags/annotations_v3_3_0_GA to the new structure (annotations_v3_3_0_GA)
Copied: jpa-api/tags/annotations_v3_3_0_GA/build.xml (from rev 13056, tags/annotations_v3_3_0_GA/HibernateExt/jpa-api/build.xml)
===================================================================
--- jpa-api/tags/annotations_v3_3_0_GA/build.xml (rev 0)
+++ jpa-api/tags/annotations_v3_3_0_GA/build.xml 2007-08-16 00:01:57 UTC (rev 13057)
@@ -0,0 +1,109 @@
+<!--
+
+ EJB API build script.
+
+ Emmanuel Bernard
+
+-->
+
+<project name="EJB-API" default="jar" basedir=".">
+
+ <!-- Give user a chance to override without editing this file or typing -D -->
+ <property file="build.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <!-- Name of project and version, used to create filenames -->
+ <property name="name" value="ejb3-persistence"/>
+ <property name="version" value="3.0 Final Release"/>
+
+ <!-- set global properties for this build -->
+ <property name="src.dir" value="src"/>
+ <property name="build.dir" value="build"/>
+ <property name="metainf.dir" value="etc"/>
+ <property name="classes.dir" value="${build.dir}/classes"/>
+ <property name="jar.name" value="${name}"/>
+
+ <property name="javac.debug" value="on"/>
+ <property name="javac.optimize" value="off"/>
+
+ <patternset id="src.files">
+ <!-- include everything we want in the src directory
+ that we didn't want in the jar itself -->
+ <include name="**/*.java"/>
+ <include name="META-INF/ra.xml"/>
+ </patternset>
+
+
+ <!-- ############################ Targets #############################-->
+
+ <target name="clean" description="Cleans up build and dist directories">
+ <delete dir="${build.dir}"/>
+ </target>
+
+ <target name="init" description="Initialize the build">
+ <tstamp>
+ <format property="subversion" pattern="yyyy-MM-dd hh:mm:ss"/>
+ </tstamp>
+ <echo message="Build ${name}-${version} (${subversion})"/>
+
+ <mkdir dir="${classes.dir}"/>
+
+ </target>
+
+ <target name="compile" depends="init" 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
+ destdir="${classes.dir}"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on"
+ source="1.5">
+ <src path="${src.dir}"/>
+ </javac>
+ </target>
+
+
+ <target name="jar" depends="compile" description="Build the distribution .jar file">
+ <jar jarfile="${build.dir}/${jar.name}.jar" basedir="${classes.dir}">
+ <include name="javax/**/*.class"/>
+ <manifest>
+ <attribute name="Built-By" value="hibernate.org"/>
+ <attribute name="Specification-Title" value="EJB 3.0"/>
+ <attribute name="Specification-Version" value="${version}"/>
+ <attribute name="Specification-Vendor" value="Sun Microsystems, Inc."/>
+ <attribute name="Implementation-Title" value="EJB"/>
+ <attribute name="Implementation-Version" value="${version} ${TODAY}"/>
+ <attribute name="Implementation-Vendor" value="hibernate.org"/>
+ </manifest>
+ <metainf dir="${basedir}/${metainf.dir}">
+ <include name="**/license.txt"/>
+ </metainf>
+ </jar>
+ </target>
+
+ <target name="javadoc" description="Compile the Javadoc API documentation">
+ <mkdir dir="${build.dir}/api"/>
+ <javadoc
+ packagenames="javax.persistence.*"
+ destdir="${build.dir}/api"
+ use="true"
+ protected="true"
+ version="true"
+ overview="${basedir}/doc/api/package.html"
+ windowtitle="EJB 3.0 Persistence API Documentation"
+ doctitle="EJB 3.0 Persistence API Documentation"
+ stylesheetfile="./etc/jdstyle.css"
+ link="http://java.sun.com/j2se/1.5/docs/api">
+ <packageset dir="${src.dir}" defaultexcludes="yes" >
+ <include name="**/*" />
+ </packageset>
+ </javadoc>
+
+ </target>
+
+
+</project>
17 years, 4 months
Hibernate SVN: r13056 - jpa-api/tags/annotations_v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:56 -0400 (Wed, 15 Aug 2007)
New Revision: 13056
Added:
jpa-api/tags/annotations_v3_3_0_GA/.cvsignore
Log:
Move jpa-api tags/annotations_v3_3_0_GA to the new structure (annotations_v3_3_0_GA)
Copied: jpa-api/tags/annotations_v3_3_0_GA/.cvsignore (from rev 13055, tags/annotations_v3_3_0_GA/HibernateExt/jpa-api/.cvsignore)
===================================================================
--- jpa-api/tags/annotations_v3_3_0_GA/.cvsignore (rev 0)
+++ jpa-api/tags/annotations_v3_3_0_GA/.cvsignore 2007-08-16 00:01:56 UTC (rev 13056)
@@ -0,0 +1,3 @@
+build
+.settings
+build.properties
17 years, 4 months
Hibernate SVN: r13055 - jpa-api/tags.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:54 -0400 (Wed, 15 Aug 2007)
New Revision: 13055
Added:
jpa-api/tags/annotations_v3_3_0_GA/
Log:
Create jpa-api annotations_v3_3_0_GA structure
17 years, 4 months
Hibernate SVN: r13054 - common/tags/annotations_v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:50 -0400 (Wed, 15 Aug 2007)
New Revision: 13054
Added:
common/tags/annotations_v3_3_0_GA/common-build.xml
Log:
Move common tags/annotations_v3_3_0_GA to the new structure (annotations_v3_3_0_GA)
Copied: common/tags/annotations_v3_3_0_GA/common-build.xml (from rev 13053, tags/annotations_v3_3_0_GA/HibernateExt/common/common-build.xml)
===================================================================
--- common/tags/annotations_v3_3_0_GA/common-build.xml (rev 0)
+++ common/tags/annotations_v3_3_0_GA/common-build.xml 2007-08-16 00:01:50 UTC (rev 13054)
@@ -0,0 +1,472 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="common-build" default="dist">
+ <description>Common properties and targets for the HibernateExt project</description>
+
+ <!-- my.basedir property can be used to refer to files/directories relatively to the common-build.xml file -->
+ <dirname property="common-build.basedir" file="${ant.file.common-build}"/>
+
+ <!-- Give user a chance to override without editing this file
+ (and without typing -D each time it compiles it) -->
+ <property file="${common-build.basedir}/build.properties"/>
+ <property file="${user.home}/.ant.properties"/>
+
+ <property name="src.dir" location="src/java"/>
+ <property name="test.dir" location="src/test"/>
+ <property name="lib.dir" location="lib"/>
+ <property name="build.dir" location="build"/>
+ <property name="classes.dir" location="${build.dir}/classes"/>
+ <property name="testclasses.dir" location="${build.dir}/testclasses"/>
+ <property name="dist.target.dir" location="target"/>
+ <property name="dist.dir" location="${dist.target.dir}/${name}"/>
+ <property name="instrumenttest.out.dir" value="instrumenttestout"/>
+ <property name="doc.dir" location="doc"/>
+ <property name="doc.api.dir" location="${doc.dir}/api"/>
+ <property name="doc.reference.dir" location="${doc.dir}/reference"/>
+
+ <property name="dist.doc.dir" location="${dist.dir}/doc"/>
+ <property name="dist.api.dir" location="${dist.dir}/doc/api"/>
+
+ <property name="dist.src.dir" location="${dist.dir}/src"/>
+ <property name="dist.test.dir" location="${dist.dir}/test"/>
+ <property name="dist.lib.dir" location="${dist.dir}/lib"/>
+ <property name="jar.name" value="${name}"/>
+ <property name="jar.file.name" value="${dist.dir}/${jar.name}.jar"/>
+ <property name="jartest.file.name" value="${dist.dir}/${jar.name}-tests.jar"/>
+
+ <property name="javadoc" value="http://java.sun.com/j2se/1.4/docs/api"/>
+ <property name="javac.debug" value="on"/>
+ <property name="javac.optimize" value="off"/>
+ <property name="javac.source" value="1.4"/>
+ <property name="javac.target" value="1.4"/>
+
+
+ <!-- set Hibernate core related properties -->
+ <property name="hibernate-core.home" location="${common-build.basedir}/../../hibernate-3.2"/>
+ <property name="hibernate-core.jar" location="${hibernate-core.home}/hibernate3.jar"/>
+ <property name="hibernate-core.lib.dir" location="${hibernate-core.home}/lib"/>
+ <property name="hibernate-core.jdbc.dir" location="${hibernate-core.home}/lib"/> <!-- for some reason jdbc.dir is renamed to lib instead of jdbc when doing a dist of hibernate3 -->
+ <property name="hibernate-core.doc.api" location="${hibernate-core.home}/doc/api"/>
+ <property name="hibernate-cvs.doc.reference" location="${common-build.basedir}/../../Hibernate3/doc/reference"/>
+
+ <!--
+ Explicitly define tasks from ant..
+ Unfortunately, checkstyle-a<path id="lib.class.path">
+ <path location="${hibernate-core.jar}"></path>
+ <fileset dir="${hibernate-core.lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <pathelement path="${clover.jar}"/>
+ </path>ll.jar contains it's own version of ANTLR, so ANTLR cannot be in the classpath.
+ -->
+ <!-- Emmanuel: Removed antlr, shouldn't be useful in Ext package...
+ taskdef name="antlr" classname="org.apache.tools.ant.taskdefs.optional.ANTLR">
+ <classpath>
+ <pathelement location="${hibernate-core.lib.dir}/antlr-2.7.2.jar"/>
+ <pathelement location="${hibernate-core.lib.dir}/ant-antlr-1.6.1.jar"/>
+ </classpath>
+ </taskdef -->
+
+ <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask">
+ <classpath>
+ <fileset dir="${hibernate-core.lib.dir}">
+ <include name="junit-*.jar"/>
+ <include name="ant-junit-*.jar"/>
+ </fileset>
+ </classpath>
+ </taskdef>
+
+ <taskdef name="junitreport" classname="org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator">
+ <classpath>
+ <fileset dir="${hibernate-core.lib.dir}">
+ <include name="junit-*.jar"/>
+ <include name="ant-junit-*.jar"/>
+ </fileset>
+ </classpath>
+ </taskdef>
+
+ <path id="lib.class.path">
+ <path location="${hibernate-core.jar}"></path>
+ <fileset dir="${hibernate-core.lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <path refid="lib.moduleclass.path"/>
+ <pathelement path="${clover.jar}"/>
+ </path>
+
+ <!-- overridable in modules -->
+ <path id="lib.moduleclass.path"/>
+
+ <patternset id="support.files">
+ <include name="**/*.jpg"/>
+ <include name="**/*.gif"/>
+ <include name="**/*.dtd"/>
+ <include name="**/*.xsd"/>
+ <include name="**/*.xml"/>
+ <include name="**/*.xslt"/>
+
+ <!-- exclude everything we don't want in the jar -->
+ <exclude name="${build.dir}/**/*"/>
+ <exclude name="${doc.dir}/**/*"/>
+ <exclude name="classes/**/*"/>
+ <exclude name="build.xml"/>
+ <exclude name="**/*.properties"/>
+ <exclude name="**/*.ccf"/>
+ <exclude name="**/*.cfg.xml"/>
+ <exclude name="**/ehcache.xml"/>
+ </patternset>
+
+ <patternset id="source.files">
+ <include name="**/*.java"/>
+ <include name="**/*.properties"/>
+ </patternset>
+
+ <!-- junit paths/filesets -->
+ <fileset dir="${testclasses.dir}" id="junit.batchtestset">
+ <include name="**/*Test.class"/>
+ </fileset>
+
+ <path id="testsrc.path">
+ <pathelement location="${test.dir}"/>
+ </path>
+
+ <!-- Clover -->
+ <property name="clover.out.dir" value="cloverout"/>
+ <property name="clover.jar" value="${ant.home}/lib/clover.jar"/>
+ <taskdef resource="clovertasks"/>
+
+ <path id="junit.classpath">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ </fileset>
+ <pathelement path="${classes.dir}"/>
+ <pathelement path="${testclasses.dir}"/>
+ <path refid="lib.class.path"/>
+ <path refid="junit.moduleclasspath"/>
+ <path location="${clover.jar}"/>
+ </path>
+
+ <!-- Clover tasks -->
+ <target name="with.clover">
+ <clover-setup initString="clover_coverage.db"/>
+ </target>
+
+ <target name="cloverreport.html" depends="with.clover"
+ description="Generate a clover report from the current clover database.">
+ <clover-report>
+ <current outfile="${clover.out.dir}">
+ <format type="html"/>
+ </current>
+ </clover-report>
+ </target>
+
+ <target name="cloverreport" depends="with.clover,junitreport,cloverreport.html"
+ description="Run the tests and generate a clover report">
+ </target>
+
+ <!-- Tasks -->
+
+ <target name="clean" description="Cleans up build and dist directories">
+ <delete dir="${build.dir}"/>
+ <delete dir="${dist.target.dir}"/>
+ <delete dir="${clover.out.dir}"/>
+ </target>
+
+ <target name="init" description="Initialize the build">
+ <tstamp>
+ <format property="subversion" pattern="yyyy-MM-dd hh:mm:ss"/>
+ </tstamp>
+ <echo message="Build ${Name}-${version} (${subversion})"/>
+ <mkdir dir="${classes.dir}"/>
+ <mkdir dir="${testclasses.dir}"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${src.dir}">
+ <patternset refid="support.files"/>
+ </fileset>
+ </copy>
+
+ <copy todir="${build.dir}">
+ <fileset dir=".">
+ <include name="readme.txt"/>
+ <include name="lgpl.txt"/>
+ </fileset>
+ </copy>
+
+ <available file="${hibernate-core.jar}" type="file" property="hibernate-core.jar.available"/>
+ <fail unless="hibernate-core.jar.available" message="Cannot locate hibernate-core.jar: ${hibernate-core.jar}"/>
+ </target>
+
+ <target name="compile" depends="init" 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
+ target="${javac.target}"
+ source="${javac.source}"
+ srcdir="${src.dir}"
+ destdir="${classes.dir}"
+ classpathref="lib.class.path"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on">
+ </javac>
+ </target>
+
+ <target name="compiletest" depends="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
+ target="${javac.target}"
+ source="${javac.source}"
+ destdir="${testclasses.dir}"
+ classpathref="junit.classpath"
+ debug="${javac.debug}"
+ optimize="${javac.optimize}"
+ nowarn="on">
+ <src refid="testsrc.path"/>
+ </javac>
+ </target>
+
+ <target name="instrument" depends="compiletest"
+ description="Instrument the persistent classes"> <!-- depends="jar" -->
+
+ <taskdef name="instrument" classname="org.hibernate.tool.instrument.InstrumentTask">
+ <classpath path="${classes.dir}"/>
+ <classpath path="${testclasses.dir}"/>
+ <classpath refid="lib.class.path"/>
+ </taskdef>
+
+ <instrument verbose="true">
+ <fileset dir="${testclasses.dir}/org/hibernate/test">
+ <include name="**/*.class"/>
+ <exclude name="**/*Test$*.class"/>
+ <exclude name="**/*Test.class"/>
+ <exclude name="**/*Tests.class"/>
+ </fileset>
+ </instrument>
+
+ <!-- jar jarfile="${build.dir}/instrumented-classes.jar">
+ <fileset dir="${testclasses.dir}">
+ <include name="org/hibernate/test/**/*.class"/>
+ <exclude name="org/hibernate/test/**/*Test.class"/>
+ </fileset>
+ </jar -->
+
+ </target>
+
+ <target name="copytest" description="Copy tests to dist dir" if="copy.test" >
+ <mkdir dir="${dist.test.dir}"/>
+ <copy todir="${dist.test.dir}">
+ <fileset dir="${test.dir}"/>
+ </copy>
+ </target>
+
+ <target name="copysource" depends="copytest" description="Copy sources to dist dir">
+ <mkdir dir="${dist.src.dir}"/>
+ <copy todir="${dist.src.dir}">
+ <fileset dir="${src.dir}">
+ <patternset refid="source.files"/>
+ </fileset>
+ <fileset dir="${src.dir}">
+ <patternset refid="support.files"/>
+ </fileset>
+ </copy>
+ <mkdir dir="${dist.src.dir}"/>
+ <copy todir="${dist.src.dir}">
+ <fileset dir="${src.dir}">
+ <patternset refid="source.files"/>
+ </fileset>
+ <fileset dir="${src.dir}">
+ <patternset refid="support.files"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="copylib" description="Copy jars to lib dir">
+ <mkdir dir="${dist.lib.dir}"/>
+ <copy todir="${dist.lib.dir}">
+ <fileset dir="${lib.dir}">
+ <include name="*.jar"/>
+ <exclude name="log4j.jar"/>
+ <exclude name="checkstyle*.jar"/>
+ <include name="*.txt"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="copydoc" description="Copy doc to dist dir" if="copy.doc">
+ <mkdir dir="${dist.doc.dir}"/>
+ <copy todir="${dist.doc.dir}">
+ <fileset dir="${doc.dir}">
+ <include name="**/*.html"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="jar" depends="compile" description="Build the distribution .jar file">
+ <mkdir dir="${dist.dir}"/>
+ <jar filesetmanifest="merge" jarfile="${jar.file.name}" basedir="${classes.dir}"/>
+ </target>
+
+ <target name="jartest" depends="compiletest" description="Build the distribution .jar file">
+ <mkdir dir="${dist.dir}"/>
+ <jar filesetmanifest="merge" jarfile="${jartest.file.name}" basedir="${testclasses.dir}"/>
+ </target>
+
+ <!-- DOCUMENTATION -->
+
+ <target name="javadoc" description="Compile the Javadoc API documentation to dist dir">
+ <mkdir dir="${dist.api.dir}"/>
+ <javadoc
+ packagenames="${javadoc.packagenames}"
+ classpathref="lib.class.path"
+ destdir="${dist.api.dir}"
+ use="true"
+ protected="true"
+ version="true"
+ windowtitle="${Name} API Documentation"
+ Overview="${doc.api.dir}/package.html"
+ doctitle="${Name} API Documentation"
+ stylesheetfile="${hibernate-core.doc.api}/jdstyle.css"
+ link="${javadoc}">
+ <packageset dir="${src.dir}" defaultexcludes="yes" >
+ <include name="**/*" />
+ </packageset>
+ </javadoc>
+
+
+ </target>
+
+
+ <target name="extras" description="Copies miscellaneous files to root dir">
+ <copy todir="${dist.dir}/bin" failonerror="false">
+ <fileset dir="bin">
+ <include name="*.bat"/>
+ </fileset>
+ </copy>
+ <copy file="readme.txt" todir="${dist.dir}"/>
+ <copy file="lgpl.txt" todir="${dist.dir}"/>
+ <copy file="changelog.txt" todir="${dist.dir}"/>
+ <copy file="build.xml" todir="${dist.dir}"/>
+ <replace file="${dist.dir}/build.xml">
+ <replacetoken><![CDATA[../${name}-${version}]]></replacetoken>
+ <replacevalue><![CDATA[../${name}]]></replacevalue>
+ </replace>
+ </target>
+
+ <target name="dist" depends="jar,javadoc,copysource,copylib,copydoc,extras" description="Build everything">
+ <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>
+
+ <target name="info" description="Echoes useful system properties">
+ <echo message="java.vm.info=${java.vm.info}"/>
+ <echo message="java.vm.name=${java.vm.name}"/>
+ <echo message="java.vm.vendor=${java.vm.vendor}"/>
+ <echo message="java.vm.version=${java.vm.version}"/>
+ <echo message="os.arch=${os.arch}"/>
+ <echo message="os.name=${os.name}"/>
+ <echo message="os.version=${os.version}"/>
+ <echo message="java.home = ${java.home}"/>
+ <echo message="java.class.path = ${java.class.path}"/>
+ <echo message="build.compiler = ${build.compiler}"/>
+ <echo message="file.encoding=${file.encoding}"/>
+ <echo message="user.home = ${user.home}"/>
+ <echo message="user.language=${user.language}"/>
+ </target>
+
+ <target name="junit" depends="compiletest">
+ <mkdir dir="test_output"/>
+ <junit printsummary="yes" haltonfailure="yes" forkmode="once">
+ <classpath refid="junit.classpath"/>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <batchtest fork="yes" todir="test_output" haltonfailure="no">
+ <fileset refid="junit.batchtestset"/>
+ </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 refid="junit.classpath"/>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <test fork="yes" todir="test_output" haltonfailure="no" name="${testname}"/>
+ </junit>
+ </target>
+
+ <target name="junitinstrument" depends="compiletest,instrument"
+ description="Run the instrument test suite (requires driver.jar property)">
+ <mkdir dir="${instrumenttest.out.dir}"/>
+ <junit printsummary="yes" haltonfailure="yes" dir="${basedir}"
+ maxmemory="256M" fork="yes" forkmode="perBatch">
+ <classpath refid="junit.classpath"/>
+ <formatter type="plain"/>
+ <formatter type="xml"/>
+ <batchtest todir="${instrumenttest.out.dir}" haltonfailure="no">
+ <fileset dir="${classes.dir}">
+ <include name="org/hibernate/test/**/*Test.class"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="junitreport" depends="">
+ <junitreport todir="./test_output">
+ <fileset dir="test_output">
+ <include name="TEST-*.xml"/>
+ </fileset>
+ <report format="frames" todir="./test_output"/>
+ </junitreport>
+ </target>
+
+ <target name="run" depends="compile" description="Run Hibernate Console">
+ <java classname="org.hibernate.console.Start" classpathref="lib.class.path" fork="true">
+ <classpath>
+ <path location="${build.dir}"/>
+ </classpath>
+ </java>
+ </target>
+
+
+ <target name="checkstyle" description="Check coding style">
+ <taskdef resource="checkstyletask.properties">
+ <classpath>
+ <path refid="lib.class.path"/>
+ <fileset dir="${common-build.basedir}/lib">
+ <include name="checkstyle*.jar"/>
+ </fileset>
+ </classpath>
+ </taskdef>
+
+ <checkstyle config="${common-build.basedir}/checkstyle_checks.xml">
+ <fileset dir="${src.dir}">
+ <include name="**/*.java"/>
+ </fileset>
+ <formatter type="plain"/>
+ </checkstyle>
+ </target>
+
+ <target name="patch" depends="checkstyle"
+ description="Create a patch">
+ <cvs command="-q diff -u -N" output="patch.txt"/>
+ </target>
+
+</project>
\ No newline at end of file
17 years, 4 months
Hibernate SVN: r13053 - common/tags/annotations_v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:49 -0400 (Wed, 15 Aug 2007)
New Revision: 13053
Added:
common/tags/annotations_v3_3_0_GA/checkstyle_checks.xml
Log:
Move common tags/annotations_v3_3_0_GA to the new structure (annotations_v3_3_0_GA)
Copied: common/tags/annotations_v3_3_0_GA/checkstyle_checks.xml (from rev 13052, tags/annotations_v3_3_0_GA/HibernateExt/common/checkstyle_checks.xml)
===================================================================
--- common/tags/annotations_v3_3_0_GA/checkstyle_checks.xml (rev 0)
+++ common/tags/annotations_v3_3_0_GA/checkstyle_checks.xml 2007-08-16 00:01:49 UTC (rev 13053)
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.1//EN" "http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
+
+<module name="Checker">
+ <module name="TreeWalker">
+ <module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck">
+ <property name="format" value="^[A-Z](_?[A-Z0-9]+)*$|log"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.DoubleCheckedLockingCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.GenericIllegalRegexpCheck">
+ <property name="format" value="\(\(|\)\)"/>
+ <property name="ignoreCase" value="false"/>
+ <property name="message" value="stacked parentheses"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck">
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="VARIABLE_DEF"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck">
+ <property name="classes" value="{}"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck">
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="ASSIGN, BAND_ASSIGN, BOR_ASSIGN, BSR_ASSIGN, BXOR_ASSIGN, DIV_ASSIGN, MINUS_ASSIGN, MOD_ASSIGN, PLUS_ASSIGN, SL_ASSIGN, SR_ASSIGN, STAR_ASSIGN"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck">
+ <property name="allowMarkerInterfaces" value="true"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck">
+ <property name="maxLineLength" value="80"/>
+ <property name="option" value="eol"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="CLASS_DEF, CTOR_DEF, INTERFACE_DEF, LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE, METHOD_DEF"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck">
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="LITERAL_DO, LITERAL_ELSE"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck">
+ <property name="format" value="^[a-z]+(\.[a-zA-Z_][a-zA-Z0-9_]*)*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck">
+ <property name="option" value="alone"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="LITERAL_CATCH, LITERAL_ELSE, LITERAL_TRY"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck">
+ <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck">
+ <property name="format" value="^[A-Z][a-zA-Z0-9]*$"/>
+ <property name="severity" value="warning"/>
+ <property name="tokens" value="CLASS_DEF, INTERFACE_DEF"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck">
+ <property name="severity" value="warning"/>
+ </module>
+ <module name="com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck">
+ <property name="packageAllowed" value="true"/>
+ <property name="protectedAllowed" value="true"/>
+ <property name="publicMemberPattern" value="^serialVersionUID"/>
+ <property name="severity" value="warning"/>
+ </module>
+ </module>
+</module>
\ No newline at end of file
17 years, 4 months
Hibernate SVN: r13052 - common/tags/annotations_v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:45 -0400 (Wed, 15 Aug 2007)
New Revision: 13052
Added:
common/tags/annotations_v3_3_0_GA/lib/
Log:
Move common tags/annotations_v3_3_0_GA to the new structure (annotations_v3_3_0_GA)
Copied: common/tags/annotations_v3_3_0_GA/lib (from rev 13051, tags/annotations_v3_3_0_GA/HibernateExt/common/lib)
17 years, 4 months
Hibernate SVN: r13051 - common/tags.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:23 -0400 (Wed, 15 Aug 2007)
New Revision: 13051
Added:
common/tags/annotations_v3_3_0_GA/
Log:
Create common annotations_v3_3_0_GA structure
17 years, 4 months
Hibernate SVN: r13050 - annotations/tags/v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:18 -0400 (Wed, 15 Aug 2007)
New Revision: 13050
Added:
annotations/tags/v3_3_0_GA/build.properties.dist
Log:
Move annotations tags/annotations_v3_3_0_GA to the new structure (v3_3_0_GA)
Copied: annotations/tags/v3_3_0_GA/build.properties.dist (from rev 13049, tags/annotations_v3_3_0_GA/HibernateExt/annotations/build.properties.dist)
===================================================================
--- annotations/tags/v3_3_0_GA/build.properties.dist (rev 0)
+++ annotations/tags/v3_3_0_GA/build.properties.dist 2007-08-16 00:01:18 UTC (rev 13050)
@@ -0,0 +1,9 @@
+common.dir=.
+src.dir=src
+test.dir=test
+hibernate-core.home=../hibernate-3.2
+
+#locally present jars
+jpa-api.jar=./lib/ejb3-persistence.jar
+commons-annotations.jar=./lib/hibernate-commons-annotations.jar
+validator.jar=./lib/test/hibernate-validator.jar
\ No newline at end of file
17 years, 4 months
Hibernate SVN: r13049 - annotations/tags/v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:01:10 -0400 (Wed, 15 Aug 2007)
New Revision: 13049
Added:
annotations/tags/v3_3_0_GA/src/
Log:
Move annotations tags/annotations_v3_3_0_GA to the new structure (v3_3_0_GA)
Copied: annotations/tags/v3_3_0_GA/src (from rev 13048, tags/annotations_v3_3_0_GA/HibernateExt/annotations/src)
17 years, 4 months
Hibernate SVN: r13048 - annotations/tags/v3_3_0_GA.
by hibernate-commits@lists.jboss.org
Author: epbernard
Date: 2007-08-15 20:00:38 -0400 (Wed, 15 Aug 2007)
New Revision: 13048
Added:
annotations/tags/v3_3_0_GA/readme.txt
Log:
Move annotations tags/annotations_v3_3_0_GA to the new structure (v3_3_0_GA)
Copied: annotations/tags/v3_3_0_GA/readme.txt (from rev 13047, tags/annotations_v3_3_0_GA/HibernateExt/annotations/readme.txt)
===================================================================
--- annotations/tags/v3_3_0_GA/readme.txt (rev 0)
+++ annotations/tags/v3_3_0_GA/readme.txt 2007-08-16 00:00:38 UTC (rev 13048)
@@ -0,0 +1,55 @@
+Hibernate Annotations
+==================================================
+Version: 3.3.0.GA, 19.03.2007
+
+THIS RELEASE OF HIBERNATE ANNOTATIONS REQUIRES HIBERNATE CORE 3.2.0.GA (and above)
+
+Description
+-----------
+
+The EJB3 specification recognizes the interest and the success of
+the transparent object/relational mapping paradigm. The EJB3 specification
+standardizes the basic APIs and the metadata needed for any object/relational
+persistence mechanism.
+
+Hibernate EntityManager implements the programming interfaces and lifecycle rules
+as defined by the EJB3 persistence specification. Together with Hibernate Annotations
+this wrapper implements a complete (and standalone) EJB3 persistence solution on
+top of the mature Hibernate core. You may use a combination of all three together,
+annotations without EJB3 programming interfaces and lifecycle, or even pure native
+Hibernate, depending on the business and technical needs of your project. You can
+at all times fall back to Hibernate native APIs, or if required, even to native
+JDBC and SQL.
+
+
+Instructions
+------------
+
+Unzip to installation directory, read doc/reference
+
+
+Contact
+------------
+
+Latest Documentation:
+
+ http://hibernate.org
+ http://annotations.hibernate.org
+
+Bug Reports:
+
+ Hibernate JIRA (preferred)
+ hibernate-devel(a)lists.sourceforge.net
+
+Free Technical Support:
+
+ http://forum.hibernate.org
+
+
+Notes
+-----------
+
+If you want to contribute, go to http://www.hibernate.org/
+
+This software and its documentation are distributed under the terms of the
+FSF Lesser Gnu Public License (see lgpl.txt).
\ No newline at end of file
17 years, 4 months