On Wed, Oct 6, 2010 at 2:26 AM, Stanislav Muhametsin <[email protected]> wrote: > Quoting Dan Bergh Johnsson <[email protected]>: > >> Found it myself. >> >> I was under the misconception that qi4j-core-bootstrap contained runtime >> support. Now I have realised that <artifactId>qi4j-core-runtime</artifactId> >> is also needed. >> >> Sorry > > Yeah, the bootstrap loads the required runtime classes via same way as > java.util.ServiceLoader does in Java 1.6. You only need to define dependency > to runtime in a project which acts as an entry point to program, your other > projects or libraries won't need it.
It is a way to isolate the runtime dependencies from compile time dependencies, so that you can be ensured not to mistakenly use runtime classes (no compatibility guarantees whatsoever) in your client code. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

