On Thu, Aug 29, 2013 at 8:08 AM, Adrian Wilkins <[email protected]>
wrote:

What I didn't see watching the videos or reading anything I've found so far
> is the best practise for using modules without referring to them directly ;
> I don't want my main build to depend on the Windows versions of the
> modules, I just want the Windows module library to be added to the
> classpath optionally by a profile in my Maven build.

 Would a 
ServiceLoader<http://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html>help?
It's not clear to me if you want the classpath to be OS dependent or
if concrete implementations are enough, in which case ServiceLoader seems
to be a good match.

—
Cedric
-- 
Cédric

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to