You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Diane Holt <ho...@yahoo.com> on 2000/09/04 06:23:36 UTC

Listing filenames vs. using wildcards

It takes Ant 48 seconds to determine it needs to compile 1 out of 10
source files, if I list the source files by name in the target. If I use a
*.java wildcard instead, it takes 11 seconds. Does that sound right? What
would it be about listing the files by name that would account for the
difference in time?

Actually, Ant seems slow in general. It takes 3 minutes for it to decide
it doesn't need to recompile any of 115 source files (it takes Jam less
than 2 seconds to figure out the same thing). Do the Ant times seem right,
or could my build.xml file just be set up really poorly? (I'm just
starting to try and use Ant, so that's a real possibility.) Are there
known ways to optimize the build.xml file for fastest results?

Thanks,
Diane



=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Re: Listing filenames vs. using wildcards

Posted by do...@mad.scientist.com.
On Sun, 3 Sep 2000, Diane Holt wrote:

> It takes Ant 48 seconds to determine it needs to compile 1 out of 10
> source files, if I list the source files by name in the target. If I use a
> *.java wildcard instead, it takes 11 seconds. Does that sound right? What
> would it be about listing the files by name that would account for the
> difference in time?

that is extremely slow - on a 400 I get 3-5 second compiles
+ jarring with about 170 files. So it may be something funny
is occuring.

> Actually, Ant seems slow in general. It takes 3 minutes for it to decide
> it doesn't need to recompile any of 115 source files (it takes Jam less
> than 2 seconds to figure out the same thing). Do the Ant times seem right,
> or could my build.xml file just be set up really poorly? (I'm just
> starting to try and use Ant, so that's a real possibility.) Are there
> known ways to optimize the build.xml file for fastest results?

Try running ant -verbose to make sure it is doing what you
think it is doing. If so email the list the bits out of
build.xml


Cheers,

Pete

*--------------------------------------------------*
| Latrobe University,     | Does the name 'Pavlov' |
| Bundoora, Australia     |    ring a bell ?       |
*--------------------------------------------------*


EJB tasks

Posted by William Ferguson <wi...@mincom.com>.
Whats the latest thinking on using Ant to deploy EJBs?

In v1.1 there are some optional EJB tasks, but they are very skewed
towards WebLogic, and I can't seem to find any recent nightly build. I'm
sure this is common, is there a plethora of EJB Tasks that someone has
stashed somewhere?


William Ferguson

This transmission is for the intended addressee only and is confidential
information. If you have received this transmission in error, please
delete it and notify the sender. The contents of this E-mail are the
opinion of the writer only and are not endorsed by Mincom Limited unless
expressly stated otherwise.