Project

General

Profile

Actions

Bug #4105

closed

Make build system automatically build OS dependent modules

Added by Chad Berkley over 15 years ago. Updated over 15 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.

Actions #1

Updated by Christopher Brooks over 15 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.

Actions #2

Updated by Chad Berkley over 15 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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4105

Actions

Also available in: Atom PDF