Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89572 invoked by uid 500); 18 Jul 2003 07:54:05 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 89487 invoked from network); 18 Jul 2003 07:54:04 -0000 Received: from guardian.hermes.si (193.77.5.150) by daedalus.apache.org with SMTP; 18 Jul 2003 07:54:04 -0000 Received: from primus.hermes.si (primus.hermes.si [193.77.5.98]) by guardian.hermes.si (8.9.3/8.9.3) with ESMTP id JAA04157 for ; Fri, 18 Jul 2003 09:54:13 +0200 (METDST) Received: from localhost (localhost.localdomain [127.0.0.1]) by primus.hermes.si (Postfix) with ESMTP id 4C65673C6F for ; Fri, 18 Jul 2003 09:54:10 +0200 (CEST) Received: from primus.hermes.si ([127.0.0.1]) by localhost (primus.hermes.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07556-03 for ; Fri, 18 Jul 2003 09:54:09 +0200 (CEST) Received: from piramida.hermes.si (piramida.hermes.si [10.49.197.3]) by primus.hermes.si (Postfix) with ESMTP id DA1B873C6D for ; Fri, 18 Jul 2003 09:54:09 +0200 (CEST) Received: by piramida.hermes.si with Internet Mail Service (5.5.2653.19) id <3PZFYQAD>; Fri, 18 Jul 2003 09:54:11 +0200 Message-ID: <600B91D5E4B8D211A58C00902724252C01BC026C@piramida.hermes.si> From: David Balazic To: "'Ant Users List'" Subject: RE: Make ant (much) faster ? Date: Fri, 18 Jul 2003 09:54:06 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at hermes.si X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Here is a part of the debug output for "ant -debug build" it shows a certain task executed, when there is no real need for it. I am no ant expert, so I have no clue why is it executed. Here it is ( some names changed in the log by hand to xxx or similar , I did not make them all the same, just different than original ) : generate-catalog: fileset: Setup scanner in dir Z:\bin\Java with patternSet{ includes: [**/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar] excludes: [] } dropping O:\build\jar\xx-gui.jar from path as it doesn't exist dropping O:\build\jar\xx-i18n.jar from path as it doesn't exist dropping O:\build\jar\xx-olh.jar from path as it doesn't exist dropping O:\build\jar\xx-comm.jar from path as it doesn't exist dropping O:\build\jar\xx-parser.jar from path as it doesn't exist fileset: Setup scanner in dir Z:\bin\Java with patternSet{ includes: [**/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar] excludes: [] } dropping O:\build\jar\xx-gui.jar from path as it doesn't exist dropping O:\build\jar\xx-i18n.jar from path as it doesn't exist dropping O:\build\jar\xx-olh.jar from path as it doesn't exist dropping O:\build\jar\yy-comm.jar from path as it doesn't exist dropping O:\build\jar\yy-parser.jar from path as it doesn't exist [java] Executing 'X:\j2sdk1.4.1_03\jre\bin\java.exe' with arguments: [java] '-classpath' [java] 'Z:\src\javagui\tools\I18NParser.jar;O:\build\classes;Z:\bin\Java\commons-co llections\commons-collections.jar;Z:\bin\Java\log4j\log4j.jar;Z:\bin\Java\xx x\jcore.jar;Z:\bin\Java\xxx\xxx.i18n.jar;Z:\bin\Java\xxx\xxx.jar;Z:\bin\Java \jaas\tagish.jaas-modules.jar' [java] 'zz.foo.i18n.parser.I18NParserMain' [java] '1' [java] [java] The ' characters around the executable and arguments are [java] not part of the command. fileset: Setup scanner in dir Z:\bin\Java with patternSet{ includes: [**/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar] excludes: [] } dropping O:\build\jar\xx-gui.jar from path as it doesn't exist dropping O:\build\jar\xx-i18n.jar from path as it doesn't exist dropping O:\build\jar\xx-olh.jar from path as it doesn't exist dropping O:\build\jar\yy-comm.jar from path as it doesn't exist dropping O:\build\jar\yy-parser.jar from path as it doesn't exist fileset: Setup scanner in dir Z:\bin\Java with patternSet{ includes: [**/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar, **/jaas/*.jar, **/xxx/*.jar, **/log4j/*.jar, **/commons-collections/*.jar] excludes: [] } dropping O:\build\jar\xx-gui.jar from path as it doesn't exist dropping O:\build\jar\xx-i18n.jar from path as it doesn't exist dropping O:\build\jar\xx-olh.jar from path as it doesn't exist dropping O:\build\jar\yy-comm.jar from path as it doesn't exist dropping O:\build\jar\yy-parser.jar from path as it doesn't exist Execute:Java13CommandLauncher: Executing 'X:\j2sdk1.4.1_03\jre\bin\java.exe' with arguments: '-classpath' 'Z:\src\javagui\tools\I18NParser.jar;O:\build\classes;Z:\bin\Java\commons-co llections\commons-collections.jar;Z:\bin\Java\log4j\log4j.jar;Z:\bin\Java\xx x\jcore.jar;Z:\bin\Java\xxx\xxx.i18n.jar;Z:\bin\Java\xxx\xxx.jar;Z:\bin\Java \jaas\tagish.jaas-modules.jar' 'zz.foo.i18n.parser.I18NParserMain' '1' The ' characters around the executable and arguments are not part of the command. [java] i18n Parser (Main Module) v1.1 -- end of log excerpt , it continues with the output of the executed program > ---------- > From: Conor MacNeill[SMTP:conor@cortexebusiness.com.au] > Reply To: Ant Users List > Sent: 18. julij 2003 9:22 > To: Ant Users List > Subject: Re: Make ant (much) faster ? > > On Fri, 18 Jul 2003 05:19 pm, David Balazic wrote: > > Yes, except a few things, everything is built again. > > The ant output shows the target names, followed by actions like [copy], > > [apply], [mkdir], [javac], [jar] etc. > > > > Times : > > ant rebuild : 49 seconds ( other runs : 51 , 47 , 49 ) > > ant build : 30 seconds ( always started on an already built project. > > Other times : 34, 34 ) > > ant clean : 2 seconds ( other runs : 3, 2 ) > > > > As you see, while "ant build" is a bit faster than "ant rebuild", it > still > > takes a lot of time. > > > > run ant -debug and see why it is rebuilding things. > > Conor > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org