Splitting of packages between modules

Richard Warburton richard.warburton at gmail.com
Fri Oct 5 11:52:22 PDT 2012


Hey all,

I'm still a bit uncertain of mail aliases, but I'm assuming its
acceptable to post questions/design to this alias.  If this is just
openjdk stuff I'm sorry and could you send me in the right direction.

Suppose I have an API that I wish to split into smaller and larger
versions.  I have a package called com.foo.bar and which is split into
some set of classes that I wish to put into the smaller API and some
into the larger API.  My natural instinct would be to have a module
say called "Foo-Minimal" and another module called "Foo-Extras".
Foo-Extras would depend on Foo-Minimal.  Is it possible for me to
split the com.foo.bar package between Foo-Minimal and Foo-Extras or am
I required to introduce a com.foo.bar.extras package?

regards,

  Richard



More information about the jigsaw-dev mailing list