Reusing module name token `*` in -d

Nicolai Parlog nipa at codefx.org
Sat Jan 21 10:00:35 UTC 2017


 Hi!

Another feature request from the trenches regarding multi-module
compilation. (It is possible that there was a similar thread a couple of
days/weeks (?) back but I didn't find it.)

It would be nice to have the ability to specify module specific target
folders, so they do not automatically end up in
`<whatever-was-given-to-d>/<module-name>`.

It seems obvious (which could very well make it stupid) to reuse the
asterisk here and allow something like

javac
	--module-path mods
	--module-source-path "./*/src/main/java"
	-d "./*/target/classes"
	-module initial.module

I have not thought through how this might or might not work with
multiple module source paths. It looks like the only tractable approach
would be to not allow more than one -d element.

 so long ... Nicolai



-- 

PGP Key:
    http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509

Web:
    http://codefx.org
        a blog about software development
    https://www.sitepoint.com/java
        high-quality Java/JVM content
    http://do-foss.de
        Free and Open Source Software for the City of Dortmund

Twitter:
    https://twitter.com/nipafx


More information about the jigsaw-dev mailing list