You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Wong Kok Wai <wo...@pacific.net.sg> on 2000/02/24 15:57:28 UTC

Bug in build script?

The xerces.jar that is included in xerces-J-bin.1.0.2.zip was built with
compression turned off. Is there a reason for this or an error in the
makefile? With compression turned on, the resulting xerces.jar is almost
half the size!



Re: Bug in build script?

Posted by Pierpaolo Fumagalli <pi...@apache.org>.
Andy Clark wrote:
> 
> Wong Kok Wai wrote:
> > The xerces.jar that is included in xerces-J-bin.1.0.2.zip was built with
> > compression turned off. Is there a reason for this or an error in the
> > makefile? With compression turned on, the resulting xerces.jar is almost
> > half the size!
> 
> This is to make the Jar files work in the CLASSPATH of all
> 1.1+ JVMs. It's better than requiring the user to extract
> the contents of the Jar and then re-jar it.

And in JDK 1.2 it helps too... I noticed a slight reduction of the
startup time of the VM when i unjarred all compressed jars and rejarred
them at 0%...
I have quite a huge class library (2.5 megs in my /jre/lib/ext) and I'm
saving almost 1 second since I use uncompressed jars...

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<ma...@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to the official Apache developers conference -
-------------------- <http://www.apachecon.com> --------------------



Re: Bug in build script?

Posted by Pierpaolo Fumagalli <pi...@apache.org>.
Andy Clark wrote:
> 
> Wong Kok Wai wrote:
> > The xerces.jar that is included in xerces-J-bin.1.0.2.zip was built with
> > compression turned off. Is there a reason for this or an error in the
> > makefile? With compression turned on, the resulting xerces.jar is almost
> > half the size!
> 
> This is to make the Jar files work in the CLASSPATH of all
> 1.1+ JVMs. It's better than requiring the user to extract
> the contents of the Jar and then re-jar it.

And in JDK 1.2 it helps too... I noticed a slight reduction of the
startup time of the VM when i unjarred all compressed jars and rejarred
them at 0%...
I have quite a huge class library (2.5 megs in my /jre/lib/ext) and I'm
saving almost 1 second since I use uncompressed jars...

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<ma...@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to tX-X-Mozilla-Status: 0009opers conference -
-------------------- <http://www.apachecon.com> --------------------

Re: Bug in build script?

Posted by Pierpaolo Fumagalli <pi...@apache.org>.
Andy Clark wrote:
> 
> Wong Kok Wai wrote:
> > The xerces.jar that is included in xerces-J-bin.1.0.2.zip was built with
> > compression turned off. Is there a reason for this or an error in the
> > makefile? With compression turned on, the resulting xerces.jar is almost
> > half the size!
> 
> This is to make the Jar files work in the CLASSPATH of all
> 1.1+ JVMs. It's better than requiring the user to extract
> the contents of the Jar and then re-jar it.

And in JDK 1.2 it helps too... I noticed a slight reduction of the
startup time of the VM when i unjarred all compressed jars and rejarred
them at 0%...
I have quite a huge class library (2.5 megs in my /jre/lib/ext) and I'm
saving almost 1 second since I use uncompressed jars...

	Pier

-- 
--------------------------------------------------------------------
-          P              I              E              R          -
stable structure erected over water to allow the docking of seacraft
<ma...@betaversion.org>    <http://www.betaversion.org/~pier/>
--------------------------------------------------------------------
- ApacheCON Y2K: Come to tX-Mozilla-Status: 0009elopers conference -
-------------------- <http://www.apachecon.com> --------------------



Re: Bug in build script?

Posted by Andy Clark <an...@apache.org>.
Wong Kok Wai wrote:
> The xerces.jar that is included in xerces-J-bin.1.0.2.zip was built with
> compression turned off. Is there a reason for this or an error in the
> makefile? With compression turned on, the resulting xerces.jar is almost
> half the size!

This is to make the Jar files work in the CLASSPATH of all
1.1+ JVMs. It's better than requiring the user to extract
the contents of the Jar and then re-jar it.

-- 
Andy Clark * IBM, JTC - Silicon Valley * andyc@apache.org