ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caroline Foster" <Caroline.Fos...@backstream.com>
Subject RE: Question about ant performance
Date Tue, 23 Jul 2002 10:34:57 GMT
You did say ...
>both cpus just pegged for most of the time and apparently not doing any
actual 
>compilation, because it only scrolls javac messages for the last 
>couple of minutes.

Have you checked that the problem isn't in your 'init' target instead?

I know it's obvious but... :-)


-----Original Message-----
From: Tara Hernandez [mailto:tara@bluemartini.com] 
Sent: 23 July 2002 09:10
To: Ant Users List
Subject: Re: Question about ant performance


I figured I was doing something wrong.

:)

I'm passing in a toplevel source dir, under which the classes are
finally divided up into about 6 subdirs.  My compile target looks a lot
like it's from the default ant example, funnily enough:

<target name="compile" depends="init"
        description="compiling java source" >
 <javac srcdir="${src}" destdir="${build}">
 <classpath refid="classpath"/>
 </javac>
</target>

Don't know if this matters, but my classpath is constructed to be fairly
large, somewhere around 76 thirdparty libraries.  I know I can probably
weed this down some, but will probably still end up with > 50.  This is
the only thing I can think of so far that might be causing problems.

"Hal Hildebrand (web)" wrote:

> Are you compiling individual files, or all the directories at a time?

> We have
> 800+ classes spread over 5 source directories, and including jarring 
> 800+ and
> signing, our build takes under 2 minutes.  This is with 1.4, which
seems to be
> significantly faster than 1.3, but not an order of magnitude.    The
box is a
> 1.6 Ghz P4 under Win2K.
>
> So something you're doing is very wrong...  Do you have an example of 
> the pattern you're following to compile?
>
> ----- Original Message -----
> From: "Tara Hernandez" <tara@bluemartini.com>
>
> > We're not talking a lot of directories here (at least in the src 
> > tree).  Is there any thing that can help with this?  If this can't 
> > be redressed, it makes Ant unusable for me.
> >
> > -Tara
> >
> > Diane Holt wrote:
> >
> > > --- Tara Hernandez <tara@bluemartini.com> wrote:
> > > > With my first stab at a build.xml with Ant 1.5, the same tree 
> > > > takes something close to 25 minutes, with both cpus just pegged 
> > > > for most of the time and apparently not doing any actual 
> > > > compilation, because it only scrolls javac messages for the last

> > > > couple of minutes.
> > >
> > > Sounds like it's spending a long, long time in the directory 
> > > scanning.
> > >
> > > Diane
> > >
> > > =====
> > > (holtdl@yahoo.com)
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better http://health.yahoo.com
> > >
> > > --
> > > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: 
> > > <mailto:ant-user-help@jakarta.apache.org>
> >
> > --
> > "I was gratified to be able to answer promptly, and I did.  I said I

> > didn't know"
> >
> >         -Mark Twain
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:ant-user-help@jakarta.apache.org>
> >
> >
> >
>
> --
> To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>

--
"I was gratified to be able to answer promptly, and I did.  I said I
didn't know"

        -Mark Twain



--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>

BackStreamR
Willem de Zwijgerlaan 350-352
1055 RD Amsterdam
The Netherlands
tel. +31 20 386 8365
fax +31 20 386 8948 

Post Office Address: 
Postbus 58385
1040 HJ Amsterdam

BackStream: content management - multi-channel distribution
www.backstream.com

This e-mail and any attachment may contain confidential and privileged material intended for
the addressee only. If you are not the addressee, you are notified that no part of the e-mail
or any attachment may be disclosed, copied or distributed, and that any other action related
to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received
this e-mail by error, please notify the sender immediately by return e-mail, and delete this
message. BackStream, its subsidiaries and/or its employees shall not be liable for the incorrect
or incomplete transmission of this e-mail or any attachments, nor responsible for any delay
in receipt.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message