[hibernate-commits] Hibernate SVN: r12784 - in trunk/HibernateExt: commons-annotations and 3 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Jul 20 15:04:03 EDT 2007


Author: epbernard
Date: 2007-07-20 15:04:03 -0400 (Fri, 20 Jul 2007)
New Revision: 12784

Modified:
   trunk/HibernateExt/annotations/build.xml
   trunk/HibernateExt/commons-annotations/build.xml
   trunk/HibernateExt/entitymanager/build.xml
   trunk/HibernateExt/search/build.xml
   trunk/HibernateExt/validator/build.xml
Log:
ANN-633 Better Manifest.mf attributes

Modified: trunk/HibernateExt/annotations/build.xml
===================================================================
--- trunk/HibernateExt/annotations/build.xml	2007-07-20 17:31:27 UTC (rev 12783)
+++ trunk/HibernateExt/annotations/build.xml	2007-07-20 19:04:03 UTC (rev 12784)
@@ -179,9 +179,15 @@
 	<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="Product" value="${Name}"/>
-			<attribute name="Version" value="${version}"/>
-		</manifest>
+			<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://annotations.hibernate.org"/>
+            <attribute name="Specification-Title" value="Java Persistence"/>
+			<attribute name="Specification-Version" value="1.0"/>
+            <attribute name="Specification-Vendor" value="jcp.org"/>
+        </manifest>
 		<antcall target="common-build.jar"/>
 	</target>
 

Modified: trunk/HibernateExt/commons-annotations/build.xml
===================================================================
--- trunk/HibernateExt/commons-annotations/build.xml	2007-07-20 17:31:27 UTC (rev 12783)
+++ trunk/HibernateExt/commons-annotations/build.xml	2007-07-20 19:04:03 UTC (rev 12784)
@@ -101,8 +101,11 @@
 	<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="Product" value="${Name}"/>
-			<attribute name="Version" value="${version}"/>
+			<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://annotations.hibernate.org"/>
 		</manifest>
 		<antcall target="common-build.jar"/>
 	</target>

Modified: trunk/HibernateExt/entitymanager/build.xml
===================================================================
--- trunk/HibernateExt/entitymanager/build.xml	2007-07-20 17:31:27 UTC (rev 12783)
+++ trunk/HibernateExt/entitymanager/build.xml	2007-07-20 19:04:03 UTC (rev 12784)
@@ -277,8 +277,14 @@
             </fileset>
         </copy>
         <manifest file="${classes.dir}/META-INF/MANIFEST.MF">
-            <attribute name="Product" value="${Name}"/>
-            <attribute name="Version" value="${version}"/>
+            <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://entitymanager.hibernate.org"/>
+            <attribute name="Specification-Title" value="Java Persistence"/>
+			<attribute name="Specification-Version" value="1.0"/>
+            <attribute name="Specification-Vendor" value="jcp.org"/>
         </manifest>
         <antcall target="common-build.jar"/>
     </target>

Modified: trunk/HibernateExt/search/build.xml
===================================================================
--- trunk/HibernateExt/search/build.xml	2007-07-20 17:31:27 UTC (rev 12783)
+++ trunk/HibernateExt/search/build.xml	2007-07-20 19:04:03 UTC (rev 12784)
@@ -244,8 +244,11 @@
 	<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="Product" value="${Name}"/>
-			<attribute name="Version" value="${version}"/>
+			<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://search.hibernate.org"/>
 		</manifest>
 		<antcall target="common-build.jar"/>
 	</target>

Modified: trunk/HibernateExt/validator/build.xml
===================================================================
--- trunk/HibernateExt/validator/build.xml	2007-07-20 17:31:27 UTC (rev 12783)
+++ trunk/HibernateExt/validator/build.xml	2007-07-20 19:04:03 UTC (rev 12784)
@@ -200,8 +200,11 @@
 	<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="Product" value="${Name}"/>
-			<attribute name="Version" value="${version}"/>
+			<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"/>
 	</target>




More information about the hibernate-commits mailing list