module-info.java just causes problems

Stephane Epardaud stef at epardaud.fr
Wed May 11 15:05:07 UTC 2016


Agreed, and this is the conclusion we came to in Ceylon wrt modules too. 
But that's orthogonal to the format of the module descriptor.

I think the Java Modules already have a lot of overriding capabilities 
in the form of command-line flags (-addExports and friends), but 
ultimately an external overrides descriptor to encompass all those 
options will help. Of course, tools could define that and generate the 
options based on it, but then you will end up with different forms for 
different build tools which is less than ideal.

On 11/05/16 16:57, Gunnar Morling wrote:
> Having an (external) mechanism allowing to override module requirements
> appears very desirable to me.
>



More information about the jigsaw-dev mailing list