Author: epbernard
Date: 2007-08-15 19:55:38 -0400 (Wed, 15 Aug 2007)
New Revision: 13000
Added:
jpa-api/trunk/build.xml
Removed:
trunk/HibernateExt/jpa-api/build.xml
Log:
Move jpa-api trunk to the new structure
Copied: jpa-api/trunk/build.xml (from rev 12999, trunk/HibernateExt/jpa-api/build.xml)
===================================================================
--- jpa-api/trunk/build.xml (rev 0)
+++ jpa-api/trunk/build.xml 2007-08-15 23:55:38 UTC (rev 13000)
@@ -0,0 +1,130 @@
+<!--
+
+ EJB API build script.
+
+ Emmanuel Bernard
+
+-->
+
+<project name="EJB-API" default="jar" basedir="."
+ xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+
+ <!-- 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>
+
+ <!-- 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"/>
+
+
+ <!-- ############################ 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>
+ <tstamp>
+ <format property="now" pattern="yyyyMMddhhmmss"/>
+ </tstamp>
+ <echo message="Build ${name}-${version} (${subversion})"/>
+
+ <mkdir dir="${classes.dir}"/>
+ <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
+
+ </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>
+ <delete file="${build.dir}/ivy.xml"/> <!-- delete last
produced ivy file to be sure a new one will be generated -->
+ <ivy:resolve/>
+ <ivy:publish artifactspattern="${build.dir}/[artifact].[ext]"
+ resolver="local"
+ pubrevision="latest"
+ pubdate="${now}"
+ status="integration"
+ />
+ </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>
Deleted: trunk/HibernateExt/jpa-api/build.xml
===================================================================
--- trunk/HibernateExt/jpa-api/build.xml 2007-08-15 23:55:34 UTC (rev 12999)
+++ trunk/HibernateExt/jpa-api/build.xml 2007-08-15 23:55:38 UTC (rev 13000)
@@ -1,130 +0,0 @@
-<!--
-
- EJB API build script.
-
- Emmanuel Bernard
-
--->
-
-<project name="EJB-API" default="jar" basedir="."
- xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
-
- <!-- 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>
-
- <!-- 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"/>
-
-
- <!-- ############################ 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>
- <tstamp>
- <format property="now" pattern="yyyyMMddhhmmss"/>
- </tstamp>
- <echo message="Build ${name}-${version} (${subversion})"/>
-
- <mkdir dir="${classes.dir}"/>
- <ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
-
- </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>
- <delete file="${build.dir}/ivy.xml"/> <!-- delete last
produced ivy file to be sure a new one will be generated -->
- <ivy:resolve/>
- <ivy:publish artifactspattern="${build.dir}/[artifact].[ext]"
- resolver="local"
- pubrevision="latest"
- pubdate="${now}"
- status="integration"
- />
- </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>