ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gintautas Grigelionis <>
Subject Re: Java modules as Ant resources
Date Sat, 16 Jun 2018 16:36:47 GMT
Den lör 16 juni 2018 kl 17:47 skrev Stefan Bodewig <>:

> On 2018-06-16, Gintautas Grigelionis wrote:
> > if services would become a new mechanism for adding tasks, modules
> > would be of help by providing an API to discover them.
> Which may be a bit more tricky than it looks as currently tasks don't
> provide metadata about themselves (tag name, namespace uri) as this is
> handled by the surounding concepts like the antlib task.

Namespace is usually derived from package name and can be derived from
module name.
Tag name can be derived from service name, and it looks like provider
method [1] could be used as a mechanism for aliasing.

> Since modules are a jar with a twist, it seems that they could be
> > abstracted as resources if one would like to expose what's happening
> > under the hood/bonnet.
> The term resource might be overloaded and mean different things to you
> and me. In Ant terms a module would be a ResourceCollection, probably.

I see. Thanks for correction.

> > The question was more about whether that exposure would be useful (so
> > that there could be ModuleSets, etc).
> Something like a ZipGroupFileset?




  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message