AJC has the very comfortable -sourceroots option, but no counterpart for (multi) modules, such as -modulesourceroots or --module-source-roots. It would be great for users to have an option which unburdens them from having to specify each single file to be compiled, but let the compiler find the files, just like we do it for normal source directories.
Actually, Javac has this option:
--module <module>(,<module>)*, -m <module>(,<module>)*
Compile only the specified module(s), check timestamps
It works like this (added line breaks for readability):
But the --module, -m options do not exist in ECJ and therefore AJC cannot utilise them either. I have just created JDT Core bug #578320, which we can track.
AJC has the very comfortable
-sourceroots
option, but no counterpart for (multi) modules, such as-modulesourceroots
or--module-source-roots
. It would be great for users to have an option which unburdens them from having to specify each single file to be compiled, but let the compiler find the files, just like we do it for normal source directories.Actually, Javac has this option:
It works like this (added line breaks for readability):
But the
--module, -m
options do not exist in ECJ and therefore AJC cannot utilise them either. I have just created JDT Core bug #578320, which we can track.