id or ids

2004-07-03 Thread Stephen McConnell
According to the docs a  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: id or ids

2004-07-03 Thread Stephen McConnell
Correction - it appears that  inside an  used "id" 
whereas  at project scope takes "ids".

Steve.

Stephen McConnell wrote:
According to the docs a  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: id or ids

2004-07-04 Thread Stefan Bodewig
On Sat, 03 Jul 2004, Stephen McConnell <[EMAIL PROTECTED]> wrote:

> Correction - it appears that  inside an  used "id"
> whereas  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]