ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Balazic <david.bala...@hermes.si>
Subject RE: Make ant (much) faster ?
Date Fri, 18 Jul 2003 07:54:06 GMT
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


Mime
View raw message