Giter VIP home page Giter VIP logo

fastjar's Introduction

FastJar 0.99
=============================

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.  

History
=======

FastJar was written by Brian Burns, [email protected]. It was merged
into gcc, and eventually merged out of gcc in 2006. 

This code is hosted on Savannah at http://savannah.nongnu.org/projects/fastjar/. 
Brian's original project is hosted on SourceForge, at http://fastjar.sf.net/.

Motivation
==========

"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!"

Requirements
============

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.  

Platforms
=========

i586-pc-minw32
--------------
In order to build FastJar without a Cygwin DLL dependency from Cygwin's
shell, please set the flags

	CFLAGS=-mno-cygwin 
	CPPFLAGS=-mno-cygwin 
	CXXFLAGS=-mno-cygwin

when calling the configure script.

Bug Reports
===========

Please submit bug reports to the fastjar bugtracker at 
http://savannah.nongnu.org/bugs/?group=fastjar.

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
-u     | update exisiting archive
-x     | extract contents
@FILE  | treat contents of FILE as additonal options

Unsupported flags:
----------------------------
-J     | Pass an option to a JVM

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


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

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


===========================================================================
http://savannah.nongnu.org/projects/fastjar/

fastjar's People

Contributors

rguenth avatar doko42 avatar technicalpickles avatar ams avatar aloiret avatar cjb avatar jakubjelinek avatar xranby avatar

Stargazers

Shikhir Arora avatar JC avatar Philipp Weissenbacher avatar  avatar Chris West avatar

Watchers

Chris West avatar James Cloos avatar Ziwei Ou avatar  avatar  avatar

Forkers

fourfingerz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.