ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From R0b0t1 <>
Subject Re: Ant Dependency Management
Date Sun, 29 Oct 2017 01:19:46 GMT

On Sat, Oct 28, 2017 at 6:34 PM, Matt Benson <> wrote:
> If you're referring to Java compilation, tools like Ant and Maven
> generally perform incremental compilation unless explicitly forced to
> do otherwise, such as by "cleaning" (deleting) existing classfiles
> from a previous compilation.
> HTH,
> Matt

That does help: I realized I should amend my question. The ANTLR task
included with Ant is very old, so I am using an exec task to run the
parser generator instead. How do I add incremental build awareness to
my build-grammar target? Currently, the build target depends on the
build-grammar target. The build-grammar target is run every time,
regardless of whether or not my grammar file has changed.

On Sat, Oct 28, 2017 at 7:43 PM, Martin Gainty <> wrote:
> if you need frequently referenced jars loaded into a "known place" take a look at repository
> Ivy:
> Building a repository | Apache Ivy<>
> Building a repository The install Ant task lets you copy a module or a set of modules
from one repository to another. This is very useful to build and maintain an ...

Thanks, I was considering Ivy for this. It took me a while to figure
out what the terminology meant and this link helped.

> Maven Repository Management:
> Maven – Best Practice - Using a Repository Manager<>
> A repository manager is a dedicated server application designed to manage repositories
of binary components. The usage of a repository manager is considered an ...

Maven seems like it does too much for me. Coming from Linux, tools
which reimplement package management tend to get in the way of my
system. On Windows they work fair enough. However, it does seem the
best supported.

> Sonatype's Nexus repository is probably the most widely used repository manager of all:
> Download Repository OSS - Sonatype Nexus<>
> The latest version of Nexus Repository OSS, providing cutting-edge support for the formats

I prefer to use open source where possible. In any case, I can't
figure out where to go on that site.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message