Author: tgg Date: 2007-08-18 13:54:48 +0000 (Sat, 18 Aug 2007) New Revision: 4027
Added: trunk/aspectj/debian/aj.sgml trunk/aspectj/debian/aspectj.links trunk/aspectj/debian/aspectj.manpages Modified: trunk/aspectj/debian/changelog trunk/aspectj/debian/control trunk/aspectj/debian/copyright trunk/aspectj/debian/manpage_from.sh trunk/aspectj/debian/rules Log: update copyright, fix manpage, add aj(1) and aj5(1) Added: trunk/aspectj/debian/aj.sgml =================================================================== --- trunk/aspectj/debian/aj.sgml (rev 0) +++ trunk/aspectj/debian/aj.sgml 2007-08-18 13:54:48 UTC (rev 4027) @@ -0,0 +1,52 @@ +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.3//EN"> +<!-- this file is based on: --> +<!-- aspectj/org.aspectj/modules/docs/devGuideDB/aj.xml --> +<!-- it was slightly modified to cover aj5 --> +<refentry id="aj-ref" xreflabel="The aj Command-line Reference"> + <refmeta> + <refentrytitle>aj, aj5</refentrytitle> + <manvolnum>1</manvolnum> + </refmeta> + + <refnamediv> + <refname>aj, aj5</refname> + <refpurpose>command-line launchers for load-time weaving</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis> + <command>aj</command> + <arg><replaceable>Options</replaceable></arg> + <group> + <arg><replaceable>arg...</replaceable></arg> + </group> + </cmdsynopsis> + <cmdsynopsis> + <command>aj5</command> + <arg><replaceable>Options</replaceable></arg> + <group> + <arg><replaceable>arg...</replaceable></arg> + </group> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1 id="aj" xreflabel="aj"> + <title>Description</title> + + <para>The + <command>aj</command> command runs Java programs in Java 1.4 or + later by setting up + <literal>WeavingURLClassLoader</literal> as the system class + loader, to do load-time bytecode weaving. </para> + + <para>The + <command>aj5</command> command runs Java programs using AspectJ Java5 JVMTI + agent to do load-time bytecode weaving. </para> + + <para> The arguments are the same as those used to launch the Java program. + Users should define the environment variables + <literal>CLASSPATH</literal> and + <literal>ASPECTPATH</literal>. </para> + + </refsect1> +</refentry> Added: trunk/aspectj/debian/aspectj.links =================================================================== --- trunk/aspectj/debian/aspectj.links (rev 0) +++ trunk/aspectj/debian/aspectj.links 2007-08-18 13:54:48 UTC (rev 4027) @@ -0,0 +1 @@ +usr/share/man/man1/aj.1 usr/share/man/man1/aj5.1 Added: trunk/aspectj/debian/aspectj.manpages =================================================================== --- trunk/aspectj/debian/aspectj.manpages (rev 0) +++ trunk/aspectj/debian/aspectj.manpages 2007-08-18 13:54:48 UTC (rev 4027) @@ -0,0 +1,3 @@ +debian/ajc.1 +debian/ajdoc.1 +debian/aj.1 Modified: trunk/aspectj/debian/changelog =================================================================== --- trunk/aspectj/debian/changelog 2007-08-17 15:50:04 UTC (rev 4026) +++ trunk/aspectj/debian/changelog 2007-08-18 13:54:48 UTC (rev 4027) @@ -1,13 +1,14 @@ -aspectj (1.5.3-1) UNRELEASED; urgency=low +aspectj (1.5.3-1) unstable; urgency=low * New maintainer. Closes: #352521. * New upstream release. Closes: #286087. - * AspectJ 5 builds cleanly with gcj/gij. Closes: #397559. + * AspectJ 5 builds cleanly with gcj. Closes: #397559. * Bump debhelper level to 5. * Convert debian/rules to cdbs. - * Install wrappers for ajdoc, aj, and aj5. + * Build manpages from the DocBook documentation. + * Install wrapper scripts for ajdoc, aj, and aj5. - -- Thomas Girard <[EMAIL PROTECTED]> Sat, 30 Jun 2007 18:45:45 +0200 + -- Thomas Girard <[EMAIL PROTECTED]> Sat, 18 Aug 2007 10:14:13 +0200 aspectj (1.1.1-2) unstable; urgency=low @@ -51,5 +52,3 @@ * Initial Release. -- Takashi Okamoto <[EMAIL PROTECTED]> Fri, 21 Jun 2002 16:38:31 +0900 - - Modified: trunk/aspectj/debian/control =================================================================== --- trunk/aspectj/debian/control 2007-08-17 15:50:04 UTC (rev 4026) +++ trunk/aspectj/debian/control 2007-08-18 13:54:48 UTC (rev 4027) @@ -1,9 +1,9 @@ Source: aspectj -Section: devel +Section: contrib/devel Priority: optional Maintainer: Debian Java maintainers <[EMAIL PROTECTED]> Uploaders: Thomas Girard <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 5), gcj, java-gcj-compat-dev (>= 1.0.65-6), ant (>= 1.6.3), ant-optional (>= 1.6.3), libxalan2-java, cdbs, libcommons-logging-java, junit (>= 3.8.1), libregexp-java, docbook-xml, docbook-xsl, xsltproc +Build-Depends: debhelper (>> 5), gcj, java-gcj-compat-dev (>= 1.0.65-6), ant (>= 1.6.3), ant-optional (>= 1.6.3), libxalan2-java, cdbs, libcommons-logging-java, junit (>= 3.8.1), libregexp-java, docbook-xml, docbook-xsl, xsltproc, docbook-to-man Standards-Version: 3.7.2 Package: aspectj Modified: trunk/aspectj/debian/copyright =================================================================== --- trunk/aspectj/debian/copyright 2007-08-17 15:50:04 UTC (rev 4026) +++ trunk/aspectj/debian/copyright 2007-08-18 13:54:48 UTC (rev 4027) @@ -1,9 +1,20 @@ This package was debianized by Takashi Okamoto <[EMAIL PROTECTED]> on Fri, 21 Jun 2002 16:38:31 +0900. And taken over by James LewisMoss -<[EMAIL PROTECTED]> on 19 Aug 2002. +<[EMAIL PROTECTED]> on 19 Aug 2002. It is now co-maintained by the +Debian Java Maintainers <[EMAIL PROTECTED]>. -It was downloaded from http://eclipse.org/aspectj +It was downloaded from <:pserver:[EMAIL PROTECTED]:/cvsroot/tools> +using the script debian/cvs-get.sh. +Copyright Holders: + 1997-2002 Xerox Corporation + 1998-2002 Palo Alto Research Center, Incorporated (PARC) + 2000-2006 IBM Corporation and others + 2002-2006 Contributors + 2000-2005 INRIA, France Telecom + 2005 John D. Heintz + 2001-2002 The Apache Software Foundation + Copyright: AspectJ(TM) Compiler and Core Tools License @@ -21,8 +32,8 @@ available under the terms of the Apache Software License, Version 1.1 (See http://jakarta.apache.org). -������������������������������������������������������������������������������ +License: Common Public License - v 1.0 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC @@ -246,5 +257,33 @@ after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. -������������������������������������������������������������������������������ +Copyright (c) 2000-2005 INRIA, France Telecom +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holders nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF +THE POSSIBILITY OF SUCH DAMAGE. Modified: trunk/aspectj/debian/manpage_from.sh =================================================================== --- trunk/aspectj/debian/manpage_from.sh 2007-08-17 15:50:04 UTC (rev 4026) +++ trunk/aspectj/debian/manpage_from.sh 2007-08-18 13:54:48 UTC (rev 4027) @@ -1,7 +1,11 @@ #!/bin/sh - +# +# Transforms DocBook .xml documents so that docbook-to-man can grok them. +# if test "a$#" = "a0"; then - echo "$0: usage $0 \<document\>" >&2 + echo "$0: missing argument" >&2 + echo "usage: $0 <document>" >&2 + echo "prepares an AspectJ document for dobook-to-man" >&2 exit 2 fi @@ -10,8 +14,7 @@ TMPFILE=`mktemp` || exit 1 trap "rm -f $TMPFILE" 0 -# add the header +# add the doctype header echo '<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.3//EN">' >> $TMPFILE -sed -e "s,\<refnamediv\>,\<refmeta\>\<refentrytitle\>$NAME\</refentrytitle\>\<manvolnum\>1\</manvolnum\>\</refmeta\>\<refnamediv\>,"< $1 >> $TMPFILE -cat $TMPFILE - +sed -e "s,<refnamediv>,<refmeta><refentrytitle>$NAME</refentrytitle><manvolnum>1</manvolnum></refmeta><refnamediv>," < $1 >> $TMPFILE +docbook-to-man $TMPFILE | sed -e 's# (link to URL \(.*\)) # \1#' Modified: trunk/aspectj/debian/rules =================================================================== --- trunk/aspectj/debian/rules 2007-08-17 15:50:04 UTC (rev 4026) +++ trunk/aspectj/debian/rules 2007-08-18 13:54:48 UTC (rev 4027) @@ -57,9 +57,12 @@ # Also symlink gjdoc.jar $(LN_S) /usr/share/java/gnu-classpath-tools-gjdoc.jar $(MODULES)/lib +debian/aj.1: debian/aj.sgml + docbook-to-man $< > $@ + # reuse the DocBook xml documents here to generate manpages. debian/%.1: org.aspectj/modules/docs/devGuideDB/%.xml - docbook-to-man $< > $@ + sh debian/manpage_from.sh $< > $@ .PHONY: bootstrap bootstrap: debian/stamp-bootstrap
_______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

