On Thu, Feb 11, 2010 at 4:53 AM, Niklas Matthies <[email protected]>wrote:

> On Wed 2010-02-10 at 10:15h, CBy wrote on ivy-user:
> > On 8-2-2010 22:24, Niklas Matthies wrote:
> :
> > How do I distinguish between library and sources so I can add them
> > to the right properties? Ivy seems to mix all jars in myproject/lib.
>
> Your retrieve pattern needs to include [conf] and/or [type] (depending
> on whether the source artifacts are distinguished by conf or by type)
> for the artifacts to be retrieved into different directories.
> Alternatively you could have separate resolve targets for jar and
> source artifacts, using different retrieve patterns.
> Or you use cachepath/cachefileset with specific conf/type attributes.
>
> > What NetBeans Ivy module were you referring to: IvyBeans or
> > something else?
>
> Yes, IvyBeans. I've been focusing on free-form projects though,
> because we don't want our build scripts to be IDE-dependent,
> and I also haven't checked the newer 1.1 version.
>
> -- Niklas Matthies
>

Reply via email to