ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SHAILJA <shalja.ru...@gmail.com>
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" 
     basedir="/u/kumari/main/base/java/classes"
     includes="common/**"/>
</target>
</project>

=====================
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 ?

 Thanks
~Shailja


"

-- 
View this message in context: http://old.nabble.com/Sometime-making-jar-takes-long-time-tp28742939p28742939.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


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


Mime
View raw message