D
Dan Stromberg
I'm doing some work on a large software project that has mutual
dependencies - EG, the build of jar A depends on jar B's interface, and
the build of jar B depends on jar A's interface.
It seems these dependencies could be resolved nicely if we were to build
the interface of A, then the interface of B, then the implementation of
A, then the implementation of B - just for example. Or more generally,
just go through and build all the interfaces first, then go back and
build all the implementations.
Does java support this sort of thing? I'm not expecting java to invoke
the compiler for me, but I am hoping that java will allow taking a bunch
of .java's, and produce two jars for them - one for public interfaces and
one for the private interfaces and implemtations.
Thanks!
dependencies - EG, the build of jar A depends on jar B's interface, and
the build of jar B depends on jar A's interface.
It seems these dependencies could be resolved nicely if we were to build
the interface of A, then the interface of B, then the implementation of
A, then the implementation of B - just for example. Or more generally,
just go through and build all the interfaces first, then go back and
build all the implementations.
Does java support this sort of thing? I'm not expecting java to invoke
the compiler for me, but I am hoping that java will allow taking a bunch
of .java's, and produce two jars for them - one for public interfaces and
one for the private interfaces and implemtations.
Thanks!