Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 54806 invoked by uid 500); 3 Apr 2001 18:15:29 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 54744 invoked from network); 3 Apr 2001 18:15:27 -0000 Message-ID: <59B1C000C017D411A43200508BC7494E6CD935@statistics.portal.hoteltools.com> From: Jesse Tilly To: "'ant-user@jakarta.apache.org'" Subject: RE: Multiple processors Date: Tue, 3 Apr 2001 14:15:18 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Ant will not thread out tasks if that's what you're asking. Javac does not thread out compilation. For the most part, unless it's understood from the builder's point of view, multi-threading built projects is of no use. Source and libraries have many dependencies that only the desginer understands. For example: Let's say I build three things, lib1, lib2 and project1. lib1 and lib2 are independent and could be built simultaneously. project1 depends on lib1 and lib2. While it's possible to parse all the code to find the dependencies and make the decision there, it would probably be faster to just serialize the building of lib1, lib2 and project1. The implementation would be easier, definitely. Anyway, that's probably more than you wanted but I thought you'd like to know why Ant doesn't thread stuff out for you. Jesse -----Original Message----- From: pdw [mailto:pdw@dowman.net] Sent: Tuesday, April 03, 2001 1:27 PM To: ant-user@jakarta.apache.org Subject: Re: Multiple processors is your JVM using native threads or green threads? make sure you're using native threads, use: java -version ----- Original Message ----- From: To: Sent: Tuesday, April 03, 2001 10:12 AM Subject: Multiple processors > My build box has four processors, but when I run an ant build only 25%, one > prossesor is being used. It is a Windows NT box. Is ant multi threaded, > will it take advantage of multiple processors? > > Thanks - Scott > > >