gcc/fastjar
Tom Tromey 9b4ca617e8 compress.c (write_data): Mark 'ze' as unused.
* compress.c (write_data): Mark 'ze' as unused.
	* jartool.h (__attribute__): New define.
	* shift.c (shift_up): Added cast.
	(shift_down): Likewise.
	* jartool.c (help): Split string constant.

From-SVN: r107681
2005-11-29 21:46:02 +00:00
..
acinclude.m4 Makefile.am: Define ACLOCAL_AMFLAGS. 2004-11-13 16:38:04 +00:00
aclocal.m4 configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
AUTHORS fastjar: Imported. 2000-12-08 19:08:23 -08:00
ChangeLog compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
CHANGES fastjar: Imported. 2000-12-08 19:08:23 -08:00
compress.c compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
compress.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00
config.h.in configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
configure configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
configure.ac configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
COPYING all files: Update FSF address. 2005-06-29 02:59:06 +00:00
dostime.c all files: Update FSF address. 2005-06-29 02:59:06 +00:00
dostime.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00
fastjar.texi all files: Update FSF address. 2005-06-29 02:59:06 +00:00
INSTALL fastjar: Imported. 2000-12-08 19:08:23 -08:00
install-defs.sh.in fastjar: Imported. 2000-12-08 19:08:23 -08:00
jargrep.c all files: Update FSF address. 2005-06-29 02:59:06 +00:00
jargrep.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00
jartool.c compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
jartool.h compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
Makefile.am configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
Makefile.in configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
NEWS fastjar: Imported. 2000-12-08 19:08:23 -08:00
pushback.c all files: Update FSF address. 2005-06-29 02:59:06 +00:00
pushback.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00
README * README: Note that FastJar is not part of GCC. 2003-07-11 21:48:39 +00:00
shift.c compress.c (write_data): Mark 'ze' as unused. 2005-11-29 21:46:02 +00:00
shift.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00
zipfile.h all files: Update FSF address. 2005-06-29 02:59:06 +00:00

This directory contains the FastJar package, which is not part of GCC but
shipped with GCC as convenience.

=======
FastJar 0.90

12/6/1999
=======

FastJar is an attempt at creating a feature-for-feature copy of Sun's JDK's
'jar' command.  Sun's jar (or Blackdown's for that matter) is written entirely
in Java which makes it dog slow.  Since FastJar is written in C, it can create
the same .jar file as Sun's tool in a fraction of the time.  On my system,
Sun's jar takes 50 seconds to create a 10MB jar file, while FastJar only takes
a little over a second.  

The reason I wrote fastjar is that building .jar files is a regular process
of the build where I work.  The way we have it setup, you have to re-create
the .jar file everytime you want to test it out, which is about every 5 minutes
when I'm busy coding.  The .jar file wasn't -that- big, but it did take about
30 seconds to be made, and watching all the garbage collection messages was
pretty irritating as well.  I probably wasted a half-hour a day watching
Sun's jar tool chug along.  By writing the program in C, I spend much less time
banging my head against the monitor waiting for the build to finish.  Yay!

FastJar has been tested on Solaris and Linux 2.2.x systems and nothing else. 
It should compile/run without any problems on either system, provided you have
zlib installed.  

Please mail any bug reports to burnsbr@ucs.orst.edu.

If you use FastJar and want me to add the rest of the features, send me mail
(toast@users.sourceforge.net).  I'll be much more likely to put more work into this
if I know other people find it useful other than me.

As always, this not being a final release, bugs may exist.  I test each
release pretty well, but I can always miss things...

Compression will slow things down quite a bit.  A 10MB jar file takes about
1 second on my machine without compression, and 9 seconds with it.  If you
want fastjar to be fast, use the -0 (zero, not O) flag to turn off compression.

Supported flags:
--------------------------
-c  | create a new archive
-v  | verbose output
-f  | specify archive file name
-m  | specify existing manifest file
-M  | don't create manifest
-0  | store only
-C  | change to dir
-t  | list contents
-x  | extract contents

Unsupported flags:
----------------------------
-u  | update exisiting archive

If you use the "unsupported" flags, nothing bad will happen, but then again
nothing will happen at all.  


Unsupported features (in this release):
---------------------------------------------
  * updating
  * full manifest support (?)

Order or features for the future:
--------------------------------------------
  * archive updating
  * full manifest support
  * filtering
  * dependency checking


===========================================================================
http://fastjar.sourceforge.net
toast@users.sourceforge.net