On Mon, 21 Mar 2005, Adam R. B. Jack <[EMAIL PROTECTED]> wrote: >> You recurse for inherit="all" and inherit="runtime", you don't for >> "no inherit attribute" or inherit="jars". Again, see below. > > I was trying to say ... for the project we are building: go get > it's dependencies (respecting all/runtime), but once "inside" those > dependencies don't get their sub-dependencies.
That's what I meant as well. > I don't quite follow, don't for "jars". Why not? Because it means the project doing inherit="jars" wants to expose the results of the project but hide the dependency. > Do you mean 'noclasspath'? I've not see an "no inherit attribute". I meant absence of any inherit attribute. >> > I guess I suspected that parts of an API in a sub-jar >> > (e.g. log4j) might bleed through a user (e.g. say axis) and so to >> > compile an axis user one might need log4j? >> >> It is unlikely to be a compile time dependency. But if it is, then >> that project (the one that depends on Axis and Log4J) is supposed >> to say so. > > Given what you are telling me, how would it "say so"? Axis would say <depend project="log4j" runtime="true"/> and the project that wants to use Axis would say <depend project="axis" inherit="runtime"/>. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]