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

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


Author: twerner
Date: 2010-05-18 21:16:52 +0000 (Tue, 18 May 2010)
New Revision: 12453

Removed:
   trunk/glassfish/debian/glassfish-toplink-essentials.install
Modified:
   trunk/glassfish/debian/build.xml
   trunk/glassfish/debian/rules
Log:
add pom for toplink

Modified: trunk/glassfish/debian/build.xml
===================================================================
--- trunk/glassfish/debian/build.xml	2010-05-18 21:06:54 UTC (rev 12452)
+++ trunk/glassfish/debian/build.xml	2010-05-18 21:16:52 UTC (rev 12453)
@@ -148,6 +148,22 @@
     </copy>
   </target>
 
+  <target name="toplink-pom">
+    <property file="../entity-persistence/build.properties"/>
+    <copy file="../entity-persistence/toplink-essentials.pom"
+      tofile="poms/toplink.xml">
+      <filterset>
+	<filter token="VERSION" value="${release.version}"/>
+      </filterset>
+    </copy>
+    <copy file="../entity-persistence/toplink-essentials-agent.pom"
+      tofile="poms/toplink-agent.xml">
+      <filterset>
+	<filter token="VERSION" value="${release.version}"/>
+      </filterset>
+    </copy>
+  </target>
+
   <target name="pom" depends="jar" description="update all POMs">
     <antcall target="mail-pom" inheritAll="false"/>
     <antcall target="ejb-api-pom" inheritAll="false"/>
@@ -155,6 +171,7 @@
     <antcall target="jta-pom" inheritAll="false"/>
     <antcall target="jpa-pom" inheritAll="false"/>
     <antcall target="activation-pom" inheritAll="false"/>
+    <antcall target="toplink-pom" inheritAll="false"/>
   </target>
 
 </project>

Deleted: trunk/glassfish/debian/glassfish-toplink-essentials.install
===================================================================
--- trunk/glassfish/debian/glassfish-toplink-essentials.install	2010-05-18 21:06:54 UTC (rev 12452)
+++ trunk/glassfish/debian/glassfish-toplink-essentials.install	2010-05-18 21:16:52 UTC (rev 12453)
@@ -1 +0,0 @@
-debian/tmp/usr/share/java/glassfish-toplink-essentials*

Modified: trunk/glassfish/debian/rules
===================================================================
--- trunk/glassfish/debian/rules	2010-05-18 21:06:54 UTC (rev 12452)
+++ trunk/glassfish/debian/rules	2010-05-18 21:16:52 UTC (rev 12453)
@@ -59,5 +59,15 @@
 	  publish/glassfish/lib/activation.jar \
 	  /usr/share/java/glassfish-activation.jar
 
+install/glassfish-toplink-essentials::
+	mh_installpom -pglassfish-toplink-essentials debian/poms/toplink.xml
+	mh_installjar -pglassfish-toplink-essentials debian/poms/toplink.xml \
+	  entity-persistence/build/release/toplink-essentials.jar \
+	  /usr/share/java/glassfish-toplink-essentials.jar
+	mh_installpom -pglassfish-toplink-essentials debian/poms/toplink-agent.xml
+	mh_installjar -pglassfish-toplink-essentials debian/poms/toplink-agent.xml \
+	  entity-persistence/build/release/toplink-essentials-agent.jar \
+	  /usr/share/java/glassfish-toplink-essentials-agent.jar
+
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download




More information about the pkg-java-commits mailing list