debian/0000755000000000000000000000000011724464325007176 5ustar debian/README.source0000644000000000000000000000130211724463257011354 0ustar libjboss-aop-java ================= The upstream supplied source package contains binary jar files. Currently no clean source distribution exists. Therefore, the upstream sources were modified to comply with the Debian Free Software Guidelines. Use the rules/get-orig-source target to create the orig.tar.gz. For more details on repackaging of upstream sources please see the debian/orig-tar.sh file. -- Varun Hiremath Thu, 8 Nov 2007 21:51:20 +0530 The package uses quilt to modify upstream source code during build time. Please consult /usr/share/doc/quilt/README.source for further information. -- Torsten Werner Fri, 18 Sep 2009 13:33:28 +0200 debian/watch0000644000000000000000000000022511724463257010231 0ustar version=3 opts="uversionmangle=s{\.(alpha|beta)}{~$1}" \ http://www.jboss.org/jbossaop/downloads/jboss-aop-(.*).zip \ debian debian/orig-tar.sh debian/rules0000755000000000000000000000153211724463257010262 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILD_TARGET := jar DEB_ANT_BUILDFILE := debian/build.xml DEB_JARS := javassist trove qdox junit javacc ant-nodeps bsh log4j-1.2 servlet-api-2.5 \ jboss-common jboss-j2ee concurrent jboss-deployment jboss-test commons-logging \ jboss-remoting jboss-microcontainer jboss-jmx jboss-system jboss-transaction \ jboss-ejb3x jboss-reflect jboss-metadata install/libjboss-aop-java:: install -m 644 -D jboss-aop.jar $(DEB_DESTDIR)/usr/share/java/jboss-aop-$(DEB_UPSTREAM_VERSION).jar dh_link /usr/share/java/jboss-aop-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jboss-aop.jar get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download debian/control0000644000000000000000000000364111724463257010610 0ustar Source: libjboss-aop-java Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Torsten Werner Build-Depends: cdbs, debhelper (>= 6) Build-Depends-Indep: ant, default-jdk, libjavassist-java (>= 3.6), libtrove-java, libqdox-java, junit, libcommons-logging-java, ant-optional, liblog4j1.2-java, bsh, libservlet2.5-java, libjboss-common-java, libjboss-j2ee-java, libjboss-deployment-java, libjboss-test-java, libjboss-remoting-java, libjboss-microcontainer-java, javacc, libjboss-jmx-java, libjboss-system-java, libjboss-transaction-java, libjboss-ejb3x-java, libjboss-reflect-java, libjboss-metadata-java Standards-Version: 3.9.3 Homepage: http://labs.jboss.com/jbossaop/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjboss-aop-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjboss-aop-java Package: libjboss-aop-java Architecture: all Depends: ${misc:Depends} Description: JBoss Aspect Oriented Programming (AOP) framework JBoss AOP is a 100% Pure Java aspected oriented framework usuable in any programming environment or tightly integrated with our application server. Aspects allow you to more easily modularize your code base when regular object oriented programming just doesn't fit the bill. It can provide a cleaner separation from application logic and system code. It provides a great way to expose integration points into your software. Combined with JDK 1.5 Annotations, it also is a great way to expand the Java language in a clean pluggable way rather than using annotations solely for code generation. . JBoss AOP is not only a framework, but also a prepackaged set of aspects that are applied via annotations, pointcut expressions, or dynamically at runtime. Some of these include caching, asynchronous communication, transactions, security, remoting, and many more. debian/build.xml0000644000000000000000000000577411724463257011037 0ustar debian/orig-tar.exclude0000644000000000000000000000002611724463257012276 0ustar *.jar *lib-* */docs/* debian/copyright0000644000000000000000000000251111724463257011133 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: JBoss AOP Upstream-Contact: Adrian Brock Austin Chau Bill Burke Bob Lee Chris Kimpton Claude Hussenet Clebert Suconic Dimitris Andreadis Flavia Rainone Juha Lindfors Kabir Khan Marc Fleury Scott Stark Sebastien Alborini Stale W. Pedersen Source: http://labs.jboss.com/jbossaop/ Copyright: 2005, JBoss Inc., and authors 2006, Red Hat Middleware LLC, and authors 2002, ObjectLearn License: LGPL-2.1+ On Debian systems, full text of the LGPL license can be found at `/usr/share/common-licenses/LGPL-2.1'. Files: debian/* Copyright: 2007-2008, Varun Hiremath 2008-2009, Torsten Werner License: GPL-2+ On Debian systems, full text of the LGPL license can be found at `/usr/share/common-licenses/GPL-2'. debian/compat0000644000000000000000000000000211724463257010377 0ustar 6 debian/source/0000755000000000000000000000000011724464325010476 5ustar debian/source/format0000644000000000000000000000001411724463257011707 0ustar 3.0 (quilt) debian/orig-tar.sh0000755000000000000000000000105011724463257011260 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' TAR=../libjboss-aop-java_$2.orig.tar.gz DIR=libjboss-aop-java-$2.orig # clean up the upstream tarball unzip $3 mv jboss-aop-$2 $DIR (cd $DIR;\ grep -ril -m 60 --include="*.java" "Generated.*Do not edit" . | xargs rm;\ grep -irl --include '*.java' com.bea.jvm . |xargs rm ) tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR rm -rf $3 $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $TAR $origDir echo "moved $TAR to $origDir" fi debian/ant.properties0000644000000000000000000000040711724463257012102 0ustar project.name=jboss-aop class.dir=classes source.dir=src aspect-framework.dir=aspect-framework aspects.dir=aspects aspect-deployer.dir=aspect-deployer aspect-framework.jar=jboss-aop.jar aspects.jar=jboss-aspects.jar aspect-deployer.jar=jboss-aspect-deployer.jar debian/changelog0000644000000000000000000000642011724464105011046 0ustar libjboss-aop-java (2.0.1.GA-3) unstable; urgency=low * Team upload. * Replace dependencies on Servlet 2.4 library with 2.5. (Closes: #658800) * Bump Standards-Version to 3.9.3. No changes were required. * Fix lintian warning in copyright file. -- Miguel Landaeta Fri, 02 Mar 2012 23:06:55 -0430 libjboss-aop-java (2.0.1.GA-2) unstable; urgency=low * Update debian/watch. * Reformat patches. * Switch to source format 3.0. * Remove useless Depends. -- Torsten Werner Mon, 08 Aug 2011 21:57:06 +0200 libjboss-aop-java (2.0.1.GA-1) unstable; urgency=low * New upstream release * Disable compiler warnings. * Add patch qdox.diff thanks to Luke Cycon. (Closes: #543073) * Switch to default-java. * Update Standards-Version: 3.8.3. * Change Section: java. * Improve get-orig-source target in debian/rules. * Convert copyright file to dep5 format. * Rename and improve README.Debian-source. -- Torsten Werner Fri, 18 Sep 2009 13:42:41 +0200 libjboss-aop-java (2.0.0.SP1-1) unstable; urgency=low * New upstream release -- Torsten Werner Thu, 04 Dec 2008 22:56:45 +0100 libjboss-aop-java (2.0.0.GA+dak1-1) unstable; urgency=low * Add class org.jboss.aop.lang.Enum as patch enum.diff from version 1.5 to support jbossas4. * Move package to main. -- Torsten Werner Tue, 18 Nov 2008 19:26:37 +0100 libjboss-aop-java (2.0.0.GA-1) unstable; urgency=low * New upstream release * Improve description. -- Torsten Werner Sat, 08 Nov 2008 22:13:47 +0100 libjboss-aop-java (2.0.0.CR13-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.0 -- Varun Hiremath Mon, 23 Jun 2008 17:50:07 +0530 libjboss-aop-java (2.0.0.CR8-2) unstable; urgency=low * Merge jboss-aspects.jar into jboss-aop.jar to avoid conflicts with libjboss-aspects-java (Closes: #480690) -- Varun Hiremath Tue, 20 May 2008 10:06:36 +0530 libjboss-aop-java (2.0.0.CR8-1) unstable; urgency=low * New update release -- Varun Hiremath Thu, 01 May 2008 11:05:43 +0530 libjboss-aop-java (2.0.0.CR4-2) unstable; urgency=low [ Varun Hiremath ] * Add libjboss-reflect-java and libjboss-metadata-java to Build-Depends * debian/rules: Update jar names [ Michael Koch ] * Use http:// URL instead of https:// URL in watch file. -- Varun Hiremath Wed, 23 Apr 2008 14:46:02 +0530 libjboss-aop-java (2.0.0.CR4-1) unstable; urgency=low * New upstream release * Bump debhelper compat to 6 -- Varun Hiremath Sun, 03 Feb 2008 01:31:44 +0530 libjboss-aop-java (2.0.0.CR3-1) unstable; urgency=low * New upstream release * Minor fixes in debian/orig-tar.sh -- Varun Hiremath Sun, 13 Jan 2008 02:46:11 +0530 libjboss-aop-java (2.0.0.CR1-1) unstable; urgency=low * new upstream release * Change Standards-Version: 3.7.3. * Add missing Build-Depends: ant-optional. -- Torsten Werner Sun, 16 Dec 2007 19:12:26 +0100 libjboss-aop-java (2.0.0~beta2-1) unstable; urgency=low * Initial release (Closes: #450765) -- Varun Hiremath Tue, 24 Apr 2007 17:19:10 +0530 debian/patches/0000755000000000000000000000000011724464325010625 5ustar debian/patches/0003-add-method-createDocletTag-required-by-qdox.patch0000644000000000000000000000246711724463257022477 0ustar From: Debian Java Maintainers Date: Mon, 8 Aug 2011 21:39:30 +0200 Subject: [PATCH] add method createDocletTag() required by qdox --- .../compiler/AnnotationDocletTagFactory.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/aspect-framework/main/org/jboss/aop/annotation/compiler/AnnotationDocletTagFactory.java b/src/aspect-framework/main/org/jboss/aop/annotation/compiler/AnnotationDocletTagFactory.java index 982e80f..e875680 100644 --- a/src/aspect-framework/main/org/jboss/aop/annotation/compiler/AnnotationDocletTagFactory.java +++ b/src/aspect-framework/main/org/jboss/aop/annotation/compiler/AnnotationDocletTagFactory.java @@ -24,6 +24,7 @@ package org.jboss.aop.annotation.compiler; import com.thoughtworks.qdox.model.AbstractJavaEntity; import com.thoughtworks.qdox.model.DocletTag; import com.thoughtworks.qdox.model.DocletTagFactory; +import com.thoughtworks.qdox.model.AbstractBaseJavaEntity; /** * Comment @@ -45,4 +46,9 @@ public class AnnotationDocletTagFactory implements DocletTagFactory { return new AnnotationDocletTag(tag, text); } + + public DocletTag createDocletTag(String s1, String s2, AbstractBaseJavaEntity arg2, int arg3) + { + return new AnnotationDocletTag(s1, s2); + } } -- debian/patches/0002-catch-exception-in-class-Condition.patch0000644000000000000000000000171611724463257020746 0ustar From: Debian Java Maintainers Date: Mon, 8 Aug 2011 21:39:30 +0200 Subject: [PATCH] catch exception in class Condition --- .../org/jboss/aspects/dbc/condition/Condition.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/aspects/main/org/jboss/aspects/dbc/condition/Condition.java b/src/aspects/main/org/jboss/aspects/dbc/condition/Condition.java index 5431585..814b42b 100644 --- a/src/aspects/main/org/jboss/aspects/dbc/condition/Condition.java +++ b/src/aspects/main/org/jboss/aspects/dbc/condition/Condition.java @@ -44,7 +44,9 @@ public abstract class Condition static { //Make sure that the beanshell can access private fields and variables - Capabilities.setAccessibility(true); + try{ + Capabilities.setAccessibility(true); + } catch (Exception e){} } //Map of valid java identifiers to the original $tgt, $ret, $0, $1, $2 etc. -- debian/patches/series0000644000000000000000000000021611724463257012044 0ustar 0001-add-class-org.jboss.lang.Enum.patch 0002-catch-exception-in-class-Condition.patch 0003-add-method-createDocletTag-required-by-qdox.patch debian/patches/0001-add-class-org.jboss.lang.Enum.patch0000644000000000000000000000525211724463257017615 0ustar From: Debian Java Maintainers Date: Mon, 8 Aug 2011 21:39:30 +0200 Subject: [PATCH] add class org.jboss.lang.Enum --- src/aspect-framework/main/org/jboss/lang/Enum.java | 71 ++++++++++++++++++++ 1 files changed, 71 insertions(+), 0 deletions(-) create mode 100644 src/aspect-framework/main/org/jboss/lang/Enum.java diff --git a/src/aspect-framework/main/org/jboss/lang/Enum.java b/src/aspect-framework/main/org/jboss/lang/Enum.java new file mode 100644 index 0000000..0c2cb6b --- /dev/null +++ b/src/aspect-framework/main/org/jboss/lang/Enum.java @@ -0,0 +1,71 @@ +/* + * JBoss, Home of Professional Open Source + * Copyright 2005, JBoss Inc., and individual contributors as indicated + * by the @authors tag. See the copyright.txt in the distribution for a + * full listing of individual contributors. + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this software; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ +package org.jboss.lang; + +/** + * Base class for JDK 1.4 Enums + * + * @author Bill Burke + * @version $Revision: 37406 $ + * + **/ +public abstract class Enum implements java.io.Serializable +{ + protected final transient String name; + protected final int ordinal; + + protected Enum(String name, int ordinal) + { + this.name = name; + this.ordinal = ordinal; + } + public String toString() + { + return name; + } + + public String name() + { + return name; + } + + public int ordinal() + { + return ordinal; + } + + public boolean equals(Object o) + { + if (o == this) return true; + if (o == null) return false; + if (!(o instanceof Enum)) return false; + if (!o.getClass().equals(this.getClass())) return false; + Enum en = (Enum)o; + return en.ordinal == this.ordinal; + } + + public int hashCode() + { + return name.hashCode(); + } + +} --