This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to annotated tag debian/1%3A2.1.1-b31-1
in repository glassfish.

commit 77520a38ecf3d3328c4bafaf65ef4832eab57559
Author: Torsten Werner <[email protected]>
Date:   Tue May 18 21:16:52 2010 +0000

    add pom for toplink
---
 debian/build.xml                            | 17 +++++++++++++++++
 debian/glassfish-toplink-essentials.install |  1 -
 debian/rules                                | 10 ++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/debian/build.xml b/debian/build.xml
index 46d9a7d..3cd044d 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -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>
diff --git a/debian/glassfish-toplink-essentials.install 
b/debian/glassfish-toplink-essentials.install
deleted file mode 100644
index 1a121aa..0000000
--- a/debian/glassfish-toplink-essentials.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/share/java/glassfish-toplink-essentials*
diff --git a/debian/rules b/debian/rules
index f23ca30..dad0633 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,5 +59,15 @@ install/glassfish-activation::
          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

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/glassfish.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to