Bug #4105
closed
Make build system automatically build OS dependent modules
Added by Chad Berkley over 15 years ago.
Updated over 15 years ago.
Description
There should be a way to tell the build system to automatically build (or not build) modules that are OS dependent so that new suites do not have to be created for every OS. This would work by looking at the osextensions.txt file in the module-info directory. Classes listed there should only be compiled if the OS matches the current users java derived OS tag.
The OS is just a special case of checking for a particular feature
such as a third party library. The build system should build features
such as OS dependent code or third party dependent code by testing the
environment and proceeding accordingly.
This now works. Adding an osextensions.txt file with the class names and java OS identifier of the OS they are supposed to build for will limit the system to only compiling on that system. The class can still be dynamically loaded using the same system as well. For an example, see the apple-extensions/module-info directory.
Original Bugzilla ID was 4105
Also available in: Atom
PDF