You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Cena, Bernard (IT)" <Be...@morganstanley.com> on 2006/01/18 20:06:49 UTC

Can I substitute jar executable used by ?

Is there a way to substitute what executable is used under the hood of
<jar> task in similar fashion to executable and compiler attribute for
<javac> ? We've found <jar> quite slow on large packages and were
wondering if we could substitute for example GNU jar which is much
faster. If not, what would be your recommendation for this - write own
macro to replace <jar> ?
Thanks
Bernard
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Can I substitute jar executable used by ?

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 18 Jan 2006, Bernard Cena <Be...@morganstanley.com>
wrote:

> Is there a way to substitute what executable is used under the hood
> of <jar> task in similar fashion to executable and compiler
> attribute for <javac> ?

No.  <jar> doesn't use any executable at all but its own set of ZIP
classes.

Many of the task's features would not be supported (at least not
easily) by any external executable I'm aware of.  Things like
specifying permissions, placing files into directories inside the
archive that don't physically exists or scanning the archive to see
which files need to be updated.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Can I substitute jar executable used by ?

Posted by Steve Loughran <st...@apache.org>.
Cena, Bernard (IT) wrote:
> Is there a way to substitute what executable is used under the hood of
> <jar> task in similar fashion to executable and compiler attribute for
> <javac> ? We've found <jar> quite slow on large packages and were
> wondering if we could substitute for example GNU jar which is much
> faster. If not, what would be your recommendation for this - write own
> macro to replace <jar> ?

I would suggest contributing the effort needed to optimise the SVN_HEAD 
  implementation of JAR.

That is: test cases, profiling, speedup improvements.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Can I substitute jar executable used by ?

Posted by Clifton Craig <cc...@gbg.com>.
On Wednesday 18 January 2006 2:06 pm, Cena, Bernard (IT) wrote:
> Is there a way to substitute what executable is used under the hood of
> <jar> task in similar fashion to executable and compiler attribute for
> <javac> ? We've found <jar> quite slow on large packages and were
> wondering if we could substitute for example GNU jar which is much
> faster. If not, what would be your recommendation for this - write own
> macro to replace <jar> ?
> Thanks
> Bernard
> --------------------------------------------------------
>
> NOTICE: If received in error, please destroy and notify sender.  Sender
> does not waive confidentiality or privilege, and use is prohibited.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
Maybe write your own custom task for gnu-jar? Better yet see if you can extend 
jar and add support for gnu-jar.
--------------------------------------------------- 
Clifton C. Craig, Software Engineer
Intelligent Computer Systems -  A Division of GBG
ccc@icsaward.com
ccraig@gbg.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org