On Thu, 24 Jul 2003, Nick Chalko <[EMAIL PROTECTED]> wrote:
> Stefan Bodewig wrote:

>>Are there any compile time dependencies (i.e. things your code
>>imports) that are not runtime dependencies as well?
> 
> Yes log4j,  is required to compile, but at runtime we fallback to
> System.out.

Ah, interesting.  The other way around is more common, require JAXP at
compile-time and in addition a parser/transformer as runtime.

Do you use log4j as <option> with conditional compilation then?

Anyway.  We seem to need 

<depend runtime="true"/>
<depend/>

and yet another one.  <depend/> should probably be left as "compile"
and we could add buildonly="true" or similar for things like Ant.

Or we add a type attribute and morph runtime="true" into
type="runtime".  This certainly scales best if we ever stumble over
more types (like DD's test-compile) and find we really need them.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to