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 <cblists...@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

Reply via email to