Author: drazzib
Date: 2011-08-26 22:05:13 +0000 (Fri, 26 Aug 2011)
New Revision: 14506

Added:
   trunk/xml-commons-external/debian/xml-apis-ext.xml
   trunk/xml-commons-external/debian/xml-apis.xml
Removed:
   trunk/xml-commons-external/debian/pom.xml
Modified:
   trunk/xml-commons-external/debian/changelog
   trunk/xml-commons-external/debian/control
   trunk/xml-commons-external/debian/rules
Log:
* d/control: Add myself as Uploaders.
* d/rules: Build xml-apis-ext.jar and xml-apis.jar (JAXP 1.4).

Modified: trunk/xml-commons-external/debian/changelog
===================================================================
--- trunk/xml-commons-external/debian/changelog 2011-08-26 14:01:43 UTC (rev 
14505)
+++ trunk/xml-commons-external/debian/changelog 2011-08-26 22:05:13 UTC (rev 
14506)
@@ -1,3 +1,10 @@
+xml-commons-external (1.4.01-2) unstable; urgency=low
+
+  * d/control: Add myself as Uploaders.
+  * d/rules: Build xml-apis-ext.jar and xml-apis.jar (JAXP 1.4).
+
+ -- Damien Raude-Morvan <[email protected]>  Sat, 27 Aug 2011 00:04:58 +0200
+
 xml-commons-external (1.4.01-1) unstable; urgency=low
 
   * Team upload.

Modified: trunk/xml-commons-external/debian/control
===================================================================
--- trunk/xml-commons-external/debian/control   2011-08-26 14:01:43 UTC (rev 
14505)
+++ trunk/xml-commons-external/debian/control   2011-08-26 22:05:13 UTC (rev 
14506)
@@ -2,7 +2,8 @@
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers 
<[email protected]>
-Uploaders: Vincent Fourmond <[email protected]>, Onkar Shinde 
<[email protected]>
+Uploaders: Vincent Fourmond <[email protected]>, Onkar Shinde 
<[email protected]>,
+ Damien Raude-Morvan <[email protected]>
 Standards-Version: 3.9.2
 Build-Depends: debhelper (>= 7), cdbs, maven-repo-helper
 Build-Depends-Indep: default-jdk

Deleted: trunk/xml-commons-external/debian/pom.xml
===================================================================
--- trunk/xml-commons-external/debian/pom.xml   2011-08-26 14:01:43 UTC (rev 
14505)
+++ trunk/xml-commons-external/debian/pom.xml   2011-08-26 22:05:13 UTC (rev 
14506)
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><project>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>xml-apis</groupId>
-  <artifactId>xml-apis-ext</artifactId>
-  <name>XML Commons External Components XML APIs Extensions</name>
-  <version>1.3.05</version>
-  <description>xml-commons provides an Apache-hosted set of DOM, SAX, and 
-    JAXP interfaces for use in other xml-based projects. Our hope is that we 
-    can standardize on both a common version and packaging scheme for these 
-    critical XML standards interfaces to make the lives of both our developers 
-    and users easier. The External Components portion of xml-commons contains 
-    interfaces that are defined by external standards organizations. For DOM, 
-    that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for 
-    JAXP it's Sun.</description>
-  <url>http://xml.apache.org/commons/components/external/</url>
-  <issueManagement>
-    <system>bugzilla</system>
-    <url>http://issues.apache.org/bugzilla/</url>
-  </issueManagement>
-  <mailingLists>
-    <mailingList>
-      <name>XML Commons Developer's List</name>
-      <subscribe>[email protected]</subscribe>
-      <unsubscribe>[email protected]</unsubscribe>
-      <post>[email protected]</post>
-      
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
-    </mailingList>
-  </mailingLists>
-  <scm>
-    
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
-    
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
-  </scm>
-  <distributionManagement>
-    <status>deployed</status>
-  </distributionManagement>
-</project>

Modified: trunk/xml-commons-external/debian/rules
===================================================================
--- trunk/xml-commons-external/debian/rules     2011-08-26 14:01:43 UTC (rev 
14505)
+++ trunk/xml-commons-external/debian/rules     2011-08-26 22:05:13 UTC (rev 
14506)
@@ -8,26 +8,38 @@
 JAVA_HOME := /usr/lib/jvm/default-java
 
 clean::
-       rm -rf classes external.jar docs
+       rm -rf classes xml-apis-ext.jar xml-apis.jar docs
 
 build-indep:
-       # Build library jar
+       # Build all classes
        mkdir classes
-       javac -source 1.4 -d classes org/apache/xmlcommons/*.java 
org/w3c/css/sac/*.java org/w3c/css/sac/helpers/*.java
-       javac -source 1.4 -d classes org/w3c/dom/*.java 
org/w3c/dom/bootstrap/*.java org/w3c/dom/css/*.java org/w3c/dom/events/*.java 
org/w3c/dom/html/*.java org/w3c/dom/ls/*.java org/w3c/dom/ranges/*.java 
org/w3c/dom/smil/*.java org/w3c/dom/stylesheets/*.java org/w3c/dom/svg/*.java 
org/w3c/dom/traversal/*.java org/w3c/dom/views/*.java org/w3c/dom/xpath/*.java
-       jar -cvfm external.jar manifest.commons -C classes/  org/
+       javac -source 1.4 -d classes `find org/ javax/ -name '*.java'`
 
+       # Build xml-apis-ext and xml-apis jar
+       (cd classes/; jar -cvfm ../xml-apis-ext.jar ../manifest.commons \
+         `find -type d -name "sac" -o -name "smil" -o -name "svg"`)
+       (cd classes/; jar -cvfm ../xml-apis.jar ../manifest.commons \
+         `find -type f ! \( -wholename "*/sac/*" -o -wholename "*/smil/*" -o 
-wholename "*/svg/*" \)`)
+
        #Build api documentation
        mkdir api
        javadoc -d api javax.xml org.apache.xmlcommons org.w3c.css.sac 
org.w3c.dom
 
 install/libxml-commons-external-java::
-       # Install pom and jar
-       mh_installpom -v -plibxml-commons-external-java debian/pom.xml
-       mh_installjar -plibxml-commons-external-java -l debian/pom.xml \
-               -nxml-commons-external -i${VERSION} external.jar
-       ln -s xml-commons-external-${VERSION}.jar 
debian/libxml-commons-external-java/usr/share/java/xml-apis-ext.jar
+       # Install xml-apis-ext
+       mh_installpom -v -plibxml-commons-external-java debian/xml-apis-ext.xml
+       mh_installjar -plibxml-commons-external-java -l debian/xml-apis-ext.xml 
\
+               -s -nxml-apis-ext -i${VERSION} xml-apis-ext.jar
+       dh_link -plibxml-commons-external-java 
/usr/share/java/xml-apis-ext-${VERSION}.jar 
/usr/share/java/xml-commons-external-${VERSION}.jar
+       dh_link -plibxml-commons-external-java 
/usr/share/java/xml-apis-ext-${VERSION}.jar 
/usr/share/java/xml-commons-external.jar
+       dh_link -plibxml-commons-external-java 
/usr/share/java/xml-apis-ext-${VERSION}.jar /usr/share/java/xml-apis-ext.jar
 
+       # Install xml-apis
+       mh_installpom -v -plibxml-commons-external-java debian/xml-apis.xml
+       mh_installjar -plibxml-commons-external-java -l debian/xml-apis.xml \
+               -s -nxml-apis -i${VERSION} xml-apis.jar
+       dh_link -plibxml-commons-external-java 
/usr/share/java/xml-apis-${VERSION}.jar /usr/share/java/jaxp-1.4.jar
+
 install/libxml-commons-external-java-doc::
        # Install the documentation into the libxml-commons-java-doc package
        mkdir -p 
debian/libxml-commons-external-java-doc/usr/share/doc/libxml-commons-external-java/

Copied: trunk/xml-commons-external/debian/xml-apis-ext.xml (from rev 14384, 
trunk/xml-commons-external/debian/pom.xml)
===================================================================
--- trunk/xml-commons-external/debian/xml-apis-ext.xml                          
(rev 0)
+++ trunk/xml-commons-external/debian/xml-apis-ext.xml  2011-08-26 22:05:13 UTC 
(rev 14506)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>xml-apis</groupId>
+  <artifactId>xml-apis-ext</artifactId>
+  <name>XML Commons External Components XML APIs Extensions</name>
+  <version>1.4.01</version>
+  <description>xml-commons provides an Apache-hosted set of DOM, SAX, and 
+    JAXP interfaces for use in other xml-based projects. Our hope is that we 
+    can standardize on both a common version and packaging scheme for these 
+    critical XML standards interfaces to make the lives of both our developers 
+    and users easier. The External Components portion of xml-commons contains 
+    interfaces that are defined by external standards organizations. For DOM, 
+    that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for 
+    JAXP it's Sun.</description>
+  <url>http://xml.apache.org/commons/components/external/</url>
+  <issueManagement>
+    <system>bugzilla</system>
+    <url>http://issues.apache.org/bugzilla/</url>
+  </issueManagement>
+  <mailingLists>
+    <mailingList>
+      <name>XML Commons Developer's List</name>
+      <subscribe>[email protected]</subscribe>
+      <unsubscribe>[email protected]</unsubscribe>
+      <post>[email protected]</post>
+      
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
+    </mailingList>
+  </mailingLists>
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
+    
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
+  </scm>
+  <distributionManagement>
+    <status>deployed</status>
+  </distributionManagement>
+</project>

Copied: trunk/xml-commons-external/debian/xml-apis.xml (from rev 14384, 
trunk/xml-commons-external/debian/pom.xml)
===================================================================
--- trunk/xml-commons-external/debian/xml-apis.xml                              
(rev 0)
+++ trunk/xml-commons-external/debian/xml-apis.xml      2011-08-26 22:05:13 UTC 
(rev 14506)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>xml-apis</groupId>
+  <artifactId>xml-apis-1.4</artifactId>
+  <name>XML Commons External Components XML APIs</name>
+  <version>1.4.01</version>
+  <description>xml-commons provides an Apache-hosted set of DOM, SAX, and 
+    JAXP interfaces for use in other xml-based projects. Our hope is that we 
+    can standardize on both a common version and packaging scheme for these 
+    critical XML standards interfaces to make the lives of both our developers 
+    and users easier. The External Components portion of xml-commons contains 
+    interfaces that are defined by external standards organizations. For DOM, 
+    that's the W3C; for SAX it's David Megginson and sax.sourceforge.net; for 
+    JAXP it's Sun.</description>
+  <url>http://xml.apache.org/commons/components/external/</url>
+  <issueManagement>
+    <system>bugzilla</system>
+    <url>http://issues.apache.org/bugzilla/</url>
+  </issueManagement>
+  <mailingLists>
+    <mailingList>
+      <name>XML Commons Developer's List</name>
+      <subscribe>[email protected]</subscribe>
+      <unsubscribe>[email protected]</unsubscribe>
+      <post>[email protected]</post>
+      
<archive>http://mail-archives.apache.org/mod_mbox/xml-commons-dev/</archive>
+    </mailingList>
+  </mailingLists>
+  <scm>
+    
<connection>scm:svn:http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/</connection>
+    
<url>http://svn.apache.org/viewvc/xml/commons/tags/xml-commons-external-1_3_04/</url>
+  </scm>
+  <distributionManagement>
+    <status>deployed</status>
+  </distributionManagement>
+</project>


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

Reply via email to