ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Archie Cobbs <arc...@dellroad.org>
Subject Re: Resolving Maven source jars to distinct folders
Date Thu, 19 May 2011 14:47:19 GMT
Just include a [type]s directory in your retrieval pattern... all source
JARs should have type "source".

-Archie

On Thu, May 19, 2011 at 9:19 AM, Carlton Brown <cblistserv@gmail.com> wrote:

> All,
>
> My users are requesting that source jars be retrieved into their own
> distinct folder.   We already use the config as part of the retrieve
> pattern, so I thought it would be as adding a 'sources' configuration in my
> ivy.xml, then declaring the appropriate conf mapping:
>
> <configurations defaultconfmapping="sources->sources">
>
> But this failed, because so many dependencies have no 'sources'
> configuration.    Is there any way to define this opportunistically, so it
> will work if the dependency has a 'sources' configuration, but not fail if
> it doesn't?
>
> Thanks,
> Carlton
>



-- 
Archie L. Cobbs

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