Project

General

Profile

Bug #4105

Make build system automatically build OS dependent modules

Added by Chad Berkley over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
build system
Target version:
Start date:
05/22/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4105

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.

History

#1 Updated by Christopher Brooks over 10 years ago

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.

#2 Updated by Chad Berkley over 10 years ago

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.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4105

Also available in: Atom PDF