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


> On Mon, 22 Jul 2002, Tara Hernandez <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to