You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Stephen McConnell <mc...@apache.org> on 2004/07/03 15:21:05 UTC
id or ids
According to the docs a <depend> element can have an "ids" attribute.
http://gump.apache.org/metadata/project.html#depend
However, according to working examples (e.g. ant) the attribute appears
to be "id". Is it safe to assume that the docs can be updated to
reference "id" and "ids", or, is "ids" not valid?
Steve.
--
|---------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org |
|---------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: id or ids
Posted by Stefan Bodewig <bo...@apache.org>.
On Sat, 03 Jul 2004, Stephen McConnell <mc...@apache.org> wrote:
> Correction - it appears that <depend ...> inside an <ant> used "id"
> whereas <depend> at project scope takes "ids".
Yes.
ids is a space separated list, so you can depend on either all jars
produced by a project (no ids attribute) or a subset.
//ant/depend is a combination of //project/depend and //ant/property
and the later wants to set a property with the path to *the* jar being
referenced, so it has to be a single one.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org
Re: id or ids
Posted by Stephen McConnell <mc...@apache.org>.
Correction - it appears that <depend ...> inside an <ant> used "id"
whereas <depend> at project scope takes "ids".
Steve.
Stephen McConnell wrote:
>
> According to the docs a <depend> element can have an "ids" attribute.
> http://gump.apache.org/metadata/project.html#depend
>
> However, according to working examples (e.g. ant) the attribute appears
> to be "id". Is it safe to assume that the docs can be updated to
> reference "id" and "ids", or, is "ids" not valid?
>
> Steve.
>
--
|---------------------------------------|
| Magic by Merlin |
| Production by Avalon |
| |
| http://avalon.apache.org |
|---------------------------------------|
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org