[pkg-java] r12452 - trunk/glassfish/debian

Torsten Werner twerner at alioth.debian.org
Tue May 18 21:06:58 UTC 2010


Author: twerner
Date: 2010-05-18 21:06:54 +0000 (Tue, 18 May 2010)
New Revision: 12452

Modified:
   trunk/glassfish/debian/build.xml
   trunk/glassfish/debian/rules
Log:
add pom for jpa.jar

Modified: trunk/glassfish/debian/build.xml
===================================================================
--- trunk/glassfish/debian/build.xml	2010-05-18 20:56:47 UTC (rev 12451)
+++ trunk/glassfish/debian/build.xml	2010-05-18 21:06:54 UTC (rev 12452)
@@ -58,7 +58,10 @@
       <target name="all"/>
       <target name="jar"/>
     </ant>
-    <ant dir="../persistence-api" target="all"/>
+    <ant dir="../persistence-api">
+      <target name="all"/>
+      <target name="jar"/>
+    </ant>
     <ant dir="../connector-api" target="all"/>
     <ant dir="../management-api" target="all"/>
     <ant dir="../jmac-api" target="all"/>
@@ -127,6 +130,15 @@
     </copy>
   </target>
 
+  <target name="jpa-pom">
+    <property file="../persistence-api/build.properties"/>
+    <copy file="../persistence-api/persistence-api.pom" tofile="poms/jpa.xml">
+      <filterset>
+	<filter token="VERSION" value="${release.version}"/>
+      </filterset>
+    </copy>
+  </target>
+
   <target name="activation-pom">
     <property file="../activation/build.properties"/>
     <copy file="../activation/activation.pom" tofile="poms/activation.xml">
@@ -141,6 +153,7 @@
     <antcall target="ejb-api-pom" inheritAll="false"/>
     <antcall target="jstl-pom" inheritAll="false"/>
     <antcall target="jta-pom" inheritAll="false"/>
+    <antcall target="jpa-pom" inheritAll="false"/>
     <antcall target="activation-pom" inheritAll="false"/>
   </target>
 

Modified: trunk/glassfish/debian/rules
===================================================================
--- trunk/glassfish/debian/rules	2010-05-18 20:56:47 UTC (rev 12451)
+++ trunk/glassfish/debian/rules	2010-05-18 21:06:54 UTC (rev 12452)
@@ -48,6 +48,10 @@
 	mh_installjar -pglassfish-javaee debian/poms/jta.xml \
 	  transaction-api/build/release/jta.jar \
 	  /usr/share/java/glassfish-jta.jar
+	mh_installpom -pglassfish-javaee debian/poms/jpa.xml
+	mh_installjar -pglassfish-javaee debian/poms/jpa.xml \
+	  persistence-api/build/release/persistence-api.jar \
+	  /usr/share/java/glassfish-jpa.jar
 
 install/glassfish-activation::
 	mh_installpom -pglassfish-activation debian/poms/activation.xml




More information about the pkg-java-commits mailing list