* fastjar u command
@ 2001-10-25 18:31 Anthony Green
0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2001-10-25 18:31 UTC (permalink / raw)
To: rhug-rhats
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-10-25 18:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-25 18:31 fastjar u command Anthony Green
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).