ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.A.Dunphy" <madun...@bigfoot.com>
Subject RE: When to compile or not to compile that is the question?
Date Fri, 09 Feb 2001 16:02:56 GMT
Ohh dear,

how very embrassing!! As you said, one pass thr' <javac> and everything gets
compiled, great, but what does one do when they'd like to separate these
various classes into a number of jars? for example, we have a set of
framework classes that are used by the sampleapp classes and I would like to
wrap all framework classes (ONLY) into one jar. But jaring from the root
gives me everything, so is it possible to filter at the directory/package
level?

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: 09 February 2001 15:32
To: ant-user@jakarta.apache.org
Subject: Re: When to compile or not to compile that is the question?


M. A. Dunphy <madunphy@bigfoot.com> wrote:

> Now to compile a class which depends on another class being
> compiled, then the later must be compiled first.

Not when using Ant, just compile both in a single <javac> pass.

> Thus I've partitioned this dependancy to into targets and the linked
> them via the depends attribute.

Too much hassle which will give you nothing but increased build times.

Stefan

Mime
View raw message