SHAILJA,
this really is a question for the user list, not the dev list.
On 2010-06-01, SHAILJA wrote:
> 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>
basedir="/u/kumari/main/base/java/classes/common" and no includes may be
a tiny bit faster. Not much, though.
> I used "ant-1.7.1/bin/ant jar"
Ant 1.7.1 is known to be a lot slower that Ant 1.8.x when it scans big
directory trees.
> I suspect Ant contributes to the problem by searching the file system for
> items to add to the jar.
It sure does.
> If this is the case, then we might be able to configure Ant to reduce
> this file system activity.
I wouldn't know how, since it has to scan the filesystems once anyway.
Like I said there have been performance improvements in 1.8.0 but they
only apply if your directory tree contains many files.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|