source: trunk/src/gcc/fastjar/README@ 1036

Last change on this file since 1036 was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 2.7 KB
Line 
1=======
2FastJar 0.90
3
412/6/1999
5=======
6
7FastJar is an attempt at creating a feature-for-feature copy of Sun's JDK's
8'jar' command. Sun's jar (or Blackdown's for that matter) is written entirely
9in Java which makes it dog slow. Since FastJar is written in C, it can create
10the same .jar file as Sun's tool in a fraction of the time. On my system,
11Sun's jar takes 50 seconds to create a 10MB jar file, while FastJar only takes
12a little over a second.
13
14The reason I wrote fastjar is that building .jar files is a regular process
15of the build where I work. The way we have it setup, you have to re-create
16the .jar file everytime you want to test it out, which is about every 5 minutes
17when I'm busy coding. The .jar file wasn't -that- big, but it did take about
1830 seconds to be made, and watching all the garbage collection messages was
19pretty irritating as well. I probably wasted a half-hour a day watching
20Sun's jar tool chug along. By writing the program in C, I spend much less time
21banging my head against the monitor waiting for the build to finish. Yay!
22
23FastJar has been tested on Solaris and Linux 2.2.x systems and nothing else.
24It should compile/run without any problems on either system, provided you have
25zlib installed.
26
27Please mail any bug reports to burnsbr@ucs.orst.edu.
28
29If you use FastJar and want me to add the rest of the features, send me mail
30(toast@users.sourceforge.net). I'll be much more likely to put more work into this
31if I know other people find it useful other than me.
32
33As always, this not being a final release, bugs may exist. I test each
34release pretty well, but I can always miss things...
35
36Compression will slow things down quite a bit. A 10MB jar file takes about
371 second on my machine without compression, and 9 seconds with it. If you
38want fastjar to be fast, use the -0 (zero, not O) flag to turn off compression.
39
40Supported flags:
41--------------------------
42-c | create a new archive
43-v | verbose output
44-f | specify archive file name
45-m | specify existing manifest file
46-M | don't create manifest
47-0 | store only
48-C | change to dir
49-t | list contents
50-x | extract contents
51
52Unsupported flags:
53----------------------------
54-u | update exisiting archive
55
56If you use the "unsupported" flags, nothing bad will happen, but then again
57nothing will happen at all.
58
59
60Unsupported features (in this release):
61---------------------------------------------
62 * updating
63 * full manifest support (?)
64
65Order or features for the future:
66--------------------------------------------
67 * archive updating
68 * full manifest support
69 * filtering
70 * dependency checking
71
72
73===========================================================================
74http://fastjar.sourceforge.net
75toast@users.sourceforge.net
Note: See TracBrowser for help on using the repository browser.