ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Question about ant performance
Date Tue, 23 Jul 2002 18:35:17 GMT

----- Original Message -----
From: "Stefan Bodewig" <>
To: <>
Sent: Monday, July 22, 2002 11:22 PM
Subject: Re: Question about ant performance

> On Mon, 22 Jul 2002, Tara Hernandez <> wrote:
> > With my first stab at a build.xml with Ant 1.5, the same tree takes
> > something close to 25 minutes,
> How are you doing that?  A single <javac> that compiles all files at
> once or individual tasks?  Our biggest source tree (about 1700 files
> in about 150 dirs) takes far less than that - and as you are talking
> about two CPUs in your box, I bet my hardware is inferior.

I have two cpus in my system and javac never spins up #2 at all; it doesnt
thread well enough.

something is wrong here.


a). local filesystem? Nothing fancy like clearcase?

b) the classpath looks funny

<path id="classpath">
 <fileset dir="${build}">
  <include name="**/*"/>
  <include name="*.jar"/>

this is adding every built file to the classpath, which may cause much
grief. Try

<path id="classpath">
 <fileset dir="${build}">
  <include name="*.jar"/>

  <pathelement location="${build}"/>

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

View raw message