public inbox for rhug-rhats@sourceware.org
 help / color / mirror / Atom feed
From: "Anthony Green" <green@redhat.com>
To: <rhug-rhats@sources.redhat.com>
Subject: fastjar u command
Date: Thu, 25 Oct 2001 18:31:00 -0000	[thread overview]
Message-ID: <030401c15dbe$ab8564e0$5be6b4cd@cygnus.com> (raw)

Oops.  Per had sent me a patch.  Sorry!

AG

----- Original Message -----
From: "Per Bothner" <per@bothner.com>
To: <green@redhat.com>
Cc: "Per Bothner" <per@bothner.com>
Sent: Tuesday, September 18, 2001 6:36 PM
Subject: patch for rhug


> The fastjar 'u' command doesn't work.  I considered imlementing it,
> but finally designed against it.  Instead, I suggest changing
> the Makefile to use -C.
>
> I also added some extra formatting.  I got rid of the parens which
> in some implementations just uselessly forksan extra shell, and
> in the rest are just clutter, IMO.  It's your preference of course.
>
> I haven't looked to see if there are other places that also need
> to be fixed.
>
> Index: Makefile.am
> ===================================================================
> RCS file: /cvs/rhug/rhug/jakarta-servletapi/Makefile.am,v
> retrieving revision 1.5
> diff -u -r1.5 Makefile.am
> --- Makefile.am 2001/09/10 01:44:10 1.5
> +++ Makefile.am 2001/09/19 01:31:40
> @@ -156,9 +156,16 @@
>  CLASSFILES = $(lib_javax_servlet_la_SOURCES:.java=.class)
>
>  $(JARFILE): $(CLASSFILES)
> - (cd upstream/src/share; for x in `find ./ -name \*.class`; do gcjh `echo
$$x | sed "s/\.\///g" | sed "s/.class//g"`; done;)
> - (cd upstream/src/share; jar cf ../../../$@ `find ./ -name \*.class`)
> - (here=`pwd`; cd $(srcdir)/upstream/src/share; jar uf $$here/$@
javax/servlet/http/LocalStrings.properties
javax/servlet/http/LocalStrings_es.properties
javax/servlet/LocalStrings.properties)
> + cd upstream/src/share; \
> +   for x in `find ./ -name \*.class`; \
> +   do gcjh `echo $$x | sed "s/\.\///g" | sed "s/.class//g"`; done
> + sharesrc=`cd $(srcdir)/upstream/src/share; pwd`;
> +   cd upstream/src/share; \
> +   jar cf ../../../$@ `find ./ -name \*.class` \
> +     -C $$sharesrc \
> +     javax/servlet/http/LocalStrings.properties \
> +     javax/servlet/http/LocalStrings_es.properties \
> +     javax/servlet/LocalStrings.properties
>
>  ## Install the headers.  It is fairly ugly that we have to do this by
>  ## hand.

                 reply	other threads:[~2001-10-25 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='030401c15dbe$ab8564e0$5be6b4cd@cygnus.com' \
    --to=green@redhat.com \
    --cc=rhug-rhats@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).