There are two places where you can put <depend>
1) inside <project> 2) inside <ant>
jakarta-slide.xml uses both.
First of all, what is the rationale behind this? if a project depends on another project, why do we need to specify things further for ant?
Think of <depend> elements inside of <ant> as macros. It expands to a <property> element inside of <ant> and a <depend> element inside of <project>.
Gump has always needed <depend> elements.
Some projects have required the same information (specifically jar paths) to be provided to ant as properties.
As noted in the documentation[1], "that has become a common enough practice that it makes sense to introduce this element".
Also, I don't understand the difference between:
<depend property="" project="" id=""/>
and
<property name="" project="" id=""/>
why are they different? and, if so, why are their methods so similar?
They are intentionally very similar. A <depend> inside of an <ant> definition has exactly the same meaning as a <property> inside of an <ant> definition PLUS a <depend> element inside the project definition (minus the property attribute).
- Sam Ruby
[1] http://gump.apache.org/metadata/builder.html#depend
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
