ant-user mailing list archives

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

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-user@jakarta.apache.org>
Sent: Monday, July 22, 2002 11:22 PM
Subject: Re: Question about ant performance


> On Mon, 22 Jul 2002, Tara Hernandez <tara@bluemartini.com> 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.

Tara,

a). local filesystem? Nothing fancy like clearcase?

b) the classpath looks funny

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

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

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

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



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


Mime
View raw message