ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Sometime making jar takes long time
Date Tue, 01 Jun 2010 14:42:44 GMT

Hi All,

During our day to day jobs, I see lot of difference in time taken by making
jar on different hosts. 
I have simple build.xml file to make jar only

<project name="common.primitive" default="jar" basedir=".">
<target name="jar">
<jar destfile="/u/kumari/main/base/java/jar/common.jar" 

I used "ant-1.7.1/bin/ant jar" to make jar files. And I see three different
time taken on three different i386 hosts for same jar command like this
"Total time: 4 seconds", "Total time: 1 minute 33 seconds", and "Total time:
13 seconds".

I suspect Ant contributes to the problem by searching the file system for
items to add to the jar.  If this is the case, then we might be able to
configure Ant to reduce this file system activity.  

How can we configure Ant to reduce this file system activity ?



View this message in context:
Sent from the Ant - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message