debian/0000755000000000000000000000000011367615262007177 5ustar debian/maven.rules0000644000000000000000000000013411302622366011347 0ustar s/ant/org.apache.ant/ * * s/.*/debian/ s/qdox/com.thoughtworks.qdox/ qdox jar s/.*/debian/ debian/copyright0000644000000000000000000000213511302623436011122 0ustar Format-Specification: http://dep.debian.net/deps/dep5/ Name: Commons Attributes Maintainer: The Apache Software Foundation Source: http://commons.apache.org/downloads/download_attributes.cgi Files: * Copyright: 2003-2006, The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2007-2008, Torsten Werner Copyright: 2009, Damien Raude-Morvan License: Apache-2.0 License: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The full text of the Apache-2.0 license can be found in `/usr/share/common-licenses/Apache-2.0' on Debian systems. debian/ant.properties0000644000000000000000000000001111221741110012044 0ustar libdir=. debian/patches/0000755000000000000000000000000011367615262010626 5ustar debian/patches/jar-target.diff0000644000000000000000000000112111221741110013470 0ustar Index: libcommons-attributes-java-2.2/build.xml =================================================================== --- libcommons-attributes-java-2.2.orig/build.xml 2008-08-24 18:14:10.000000000 +0200 +++ libcommons-attributes-java-2.2/build.xml 2008-08-24 18:14:26.000000000 +0200 @@ -69,7 +69,7 @@ - + debian/patches/qdox_1.9.diff0000644000000000000000000000241111237576467013031 0ustar Description: Fix compatibility with QDox 1.9 " In both JavaClass and JavaSource the getPackage() returns an object of type JavaPackage instead of a String. To get the same result as before use getPackage().getName(). " Author: Damien Raude-Morvan Last-Update: 2009-08-09 --- a/compiler/src/java/org/apache/commons/attributes/compiler/AttributeCompiler.java +++ b/compiler/src/java/org/apache/commons/attributes/compiler/AttributeCompiler.java @@ -39,6 +39,7 @@ import com.thoughtworks.qdox.model.JavaMethod; import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.JavaParameter; +import com.thoughtworks.qdox.model.JavaPackage; /** @@ -241,9 +242,11 @@ String packageName = null; String className = null; - packageName = javaClass.getPackage (); - if (packageName == null) { + JavaPackage packagez = javaClass.getPackage(); + if (packagez == null || packagez.getName() == null) { packageName = ""; + } else { + packageName = packagez.getName(); } if (javaClass.isInner ()) { @@ -523,4 +526,4 @@ } return false; } -} \ No newline at end of file +} debian/patches/build.diff0000644000000000000000000000277511221741110012547 0ustar Index: libcommons-attributes-java-2.2/build.xml =================================================================== --- libcommons-attributes-java-2.2.orig/build.xml 2006-08-03 08:42:22.000000000 +0200 +++ libcommons-attributes-java-2.2/build.xml 2008-11-23 20:44:16.000000000 +0100 @@ -50,7 +50,7 @@ - + - + debian/patches/series0000644000000000000000000000005111237576467012050 0ustar build.diff jar-target.diff qdox_1.9.diff debian/rules0000755000000000000000000000265511367615231010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk POM_VERSION := 2.1 MAVEN_REPO := http://repository.sonatype.org/service/local/repositories/central/content JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := javadoc DEB_JARS := qdox install/libcommons-attributes-java:: mh_installpoms -plibcommons-attributes-java mh_installjar -plibcommons-attributes-java -l debian/poms/api.xml target/commons-attributes-api-$(DEB_UPSTREAM_VERSION).jar mh_installjar -plibcommons-attributes-java -l debian/poms/compiler.xml target/commons-attributes-compiler-$(DEB_UPSTREAM_VERSION).jar mh_installjar -plibcommons-attributes-java -l debian/poms/plugin.xml target/commons-attributes-plugin-$(DEB_UPSTREAM_VERSION).jar clean:: -rm -rf debian/tmp get-orig-source: -uscan --upstream-version 0 get-orig-pom: wget -O debian/poms/api.xml $(MAVEN_REPO)/commons-attributes/commons-attributes-api/$(POM_VERSION)/commons-attributes-api-$(POM_VERSION).pom wget -O debian/poms/compiler.xml $(MAVEN_REPO)/commons-attributes/commons-attributes-compiler/$(POM_VERSION)/commons-attributes-compiler-$(POM_VERSION).pom wget -O debian/poms/plugin.xml $(MAVEN_REPO)/commons-attributes/commons-attributes-plugin/$(POM_VERSION)/commons-attributes-plugin-$(POM_VERSION).pom perl -p -i -e 's/$(POM_VERSION)/$(DEB_UPSTREAM_VERSION)/' debian/poms/*.xml debian/orig-tar.sh0000644000000000000000000000032211221741110011231 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi debian/changelog0000644000000000000000000000551111367615231011047 0ustar libcommons-attributes-java (2.2-8) unstable; urgency=low [ Thierry Carrez ] * debian/control: Set minimal depend to java2-runtime-headless since java2 code is built (target=1.4) and this does not require GUI classes [ Torsten Werner ] * Switch to source format 3.0. -- Torsten Werner Mon, 03 May 2010 20:48:23 +0200 libcommons-attributes-java (2.2-7) unstable; urgency=low * New libcommons-attributes-java-doc package: - Install API Javadoc to /usr/share/doc/libcommons-attributes-java/api/ * Update my email address * Bump debhelper version to >= 7 * Remove unneeded ${shlibs:Depends} from Depends * Bump Standards-Version to 3.8.3: - Add debian/README.source to describe patch system * Maven POMs: - debian/control: add a Build-Depends-Indep dependency on maven-repo-helper - debian/rules: use mh_installpoms and mh_installjar to install the POM and the jar to the Maven repository - debian/poms/*.xml: Debian pom.xml files as upstream doesn't provide any - debian/rules: new get-orig-pom to update debian/poms/*.xml at new upstream release. * debian/copyright: Convert to DEP-5 -- Damien Raude-Morvan Tue, 24 Nov 2009 01:20:31 +0100 libcommons-attributes-java (2.2-6) unstable; urgency=low * Add myself as Uploaders * Add new qdox_1.9.diff patch to fix compatibility with QDox 1.9 (Closes: #540682) * Build-Depends on default-jdk instead of default-jdk-builddep since we don't build a native GCJ package. * Depends on default-jre-headless -- Damien Raude-Morvan Sun, 09 Aug 2009 18:40:16 +0200 libcommons-attributes-java (2.2-5) unstable; urgency=low * Change Maintainer: Debian Java Maintainers. * Update Standards-Version: 3.8.2 (no changes). * Change Section: java. -- Torsten Werner Sun, 28 Jun 2009 21:22:08 +0200 libcommons-attributes-java (2.2-4) unstable; urgency=low * Merge patch from Andreas Schildbach into build.diff. (Closes: #496000) -- Torsten Werner Sun, 23 Nov 2008 20:45:02 +0100 libcommons-attributes-java (2.2-3) unstable; urgency=low * Bump up Standards-Version: 3.8.0 (no changes needed). * Switch from kaffe to default-jdk. * Add patch jar-target.diff to correctly build the jar files. (Closes: #496000) -- Torsten Werner Sun, 24 Aug 2008 18:14:53 +0200 libcommons-attributes-java (2.2-2) unstable; urgency=low * Update the download address to the new apache project 'commons'. (Closes: #450245) * Update Vcs and Homepage headers in debian/control. -- Torsten Werner Sun, 09 Dec 2007 10:06:25 +0100 libcommons-attributes-java (2.2-1) unstable; urgency=low * Initial release (Closes: #426298) -- Torsten Werner Sun, 27 May 2007 20:55:47 +0200 debian/libcommons-attributes-java-doc.doc-base0000644000000000000000000000043511302622366016600 0ustar Document: libcommons-attributes-java Title: adds C#/.Net-style attributes to Java code Author: The Apache Software Foundation Section: Programming Format: HTML Index: /usr/share/doc/libcommons-attributes-java/api/index.html Files: /usr/share/doc/libcommons-attributes-java/api/*.html debian/README.source0000644000000000000000000000041611302622366011347 0ustar Patch System ============ This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/watch0000644000000000000000000000022311221741110010202 0ustar version=3 http://ftp.uni-erlangen.de/pub/mirrors/apache/commons/attributes/source/commons-attributes-(.*)-src.tar.gz \ debian debian/orig-tar.sh debian/control0000644000000000000000000000240011367615231010572 0ustar Source: libcommons-attributes-java Section: java Priority: extra Maintainer: Debian Java Maintainers Uploaders: Torsten Werner , Damien Raude-Morvan Build-Depends: ant, cdbs, debhelper (>= 7), default-jdk, libqdox-java Build-Depends-Indep: maven-repo-helper Standards-Version: 3.8.3 Homepage: http://commons.apache.org/attributes/ Vcs-Svn: https://bollin.googlecode.com/svn/libcommons-attributes-java/trunk Vcs-Browser: http://bollin.googlecode.com/svn/libcommons-attributes-java/trunk Package: libcommons-attributes-java Architecture: all Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless Description: adds C#/.Net-style attributes to Java code The Apache Jakarta Commons Attributes library enables Java programmers to use C#/.Net-style attributes in their code. Package: libcommons-attributes-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libcommons-attributes-java Description: adds C#/.Net-style attributes to Java code - documentation The Apache Jakarta Commons Attributes library enables Java programmers to use C#/.Net-style attributes in their code. . This package contains API documentation (Javadoc) of Commons Attributes. debian/libcommons-attributes-java.poms0000644000000000000000000000010411302622366015327 0ustar debian/poms/api.xml debian/poms/compiler.xml debian/poms/plugin.xml debian/source/0000755000000000000000000000000011367615262010477 5ustar debian/source/format0000644000000000000000000000001411367615231011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211302622366010365 0ustar 7 debian/libcommons-attributes-java-doc.install0000644000000000000000000000007711302622366016573 0ustar dist/docs/api/* /usr/share/doc/libcommons-attributes-java/api/ debian/docs0000644000000000000000000000001411302622366010035 0ustar README.html debian/install0000644000000000000000000000003611221741110010544 0ustar target/*.jar /usr/share/java/ debian/poms/0000755000000000000000000000000011367615262010155 5ustar debian/poms/plugin.xml0000644000000000000000000000025711302622366012171 0ustar 4.0.0 commons-attributes commons-attributes-plugin 2.2 debian/poms/compiler.xml0000644000000000000000000000200211302622366012473 0ustar 4.0.0 commons-attributes commons-attributes-compiler 2.2 commons-attributes commons-attributes-api 2.2 default-tools.jar java.vendor Sun Microsystems Inc. com.sun tools 1.4.2 system ${java.home}/../lib/tools.jar debian/poms/api.xml0000644000000000000000000000072111302622366011440 0ustar 4.0.0 commons-attributes commons-attributes-api 2.2 ant ant 1.5 qdox qdox 1.5