On 3/22/02 2:59 AM, "Stefan Bodewig" <[EMAIL PROTECTED]> wrote:

> On 21 Mar 2002, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> 
>> I assume that ant is not made to take advantage of a multi-processor
>> box,
> 
> Ant isn't doing too many things that could take advantage of multiple
> processors - it doesn't compile itself but uses your JDK's javac (you
> know that 8-) which won't take advantage of multiple processors for
> example.
> 
> If there are things in your build process that can be done in
> parallel, you can use Ant's <parallel> task (Ant >= 1.4) and run them
> in parallel.  This should take advantage of multiple processors if
> your JVM uses native threads.
> 
> If you put <javac> inside <parallel>, make sure you fork new processes
> though as Sun's javac code doesn't seem to be thread-safe.
> 

Woo hoo!  This is exactly what I was going to do to ant - I have a dual proc
mac, and wanted my builds to go even faster...

-- 
Geir Magnusson Jr.                       [EMAIL PROTECTED]
System and Software Consulting
You're going to end up getting pissed at your software
anyway, so you might as well not pay for it. Try Open Source.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to