US5375239A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Use of build status indicators in connection with building of complex computer programs from source code parts
Assignee: International Business Machines Corp
•
Filing: 1993-02-12
•
Granted: 1994-12-20
•
Expires: 2013-02-12
Abstract
Abstract A method and system for dynamically scheduling the building of computer programs from source code parts which may have dependencies which require that some parts be compiled before others. A list of source code parts and dependencies is dynamically created as compilation of the parts is attempted. The build status for each part is tracked. The list is repeatedly processed until none of the build status fields changes during an entire pass through the list. The source code parts which cannot be compiled and integrated in the build for reasons such as circular compilation dependencies or references to non-existing, prerequisite source code parts will be identified by this process.
Inventors
- 👤 Douglas J. Mortson
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-26 20:08
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/41; G06F8/70; G06F8/71
Claims Analysis
Total Claims: 6
Claim 1
Independent Claim
310 words
In a computer, a method for building a software program from a list of source code parts comprising the steps of: i) associating each source code part in said list with a build status indicator set to indicate that the source code parts are to be compiled; ii) selecting and compiling a source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled; iii) if the compilation of said selected source code part in step ii) is successful, changing the build status indicator for said selected source code part to indicate successful compilation; iv) if the compilation of selected source code part of step ii) failed because of reference to a depended source code part whose compilation is a prerequisite to the compilation of said selected source code part and if said depended source code part is not on said list, then adding said depended source code part to said list and setting the build status indicator for said depended source code part to indicate that said depended source code part is to be compiled; v) if the compilation of said selected source code part is halted by failure to compile for a reason other than the reason of step iv) above, setting the build status indicator for said selected source code part to indicate failure to compile; vi) repeating steps ii), iii), iv) and v) for each source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled until a specific state of the build status indicators occurs during a full traverse of said list of source code parts; and vii) storing the build status indicators for each source code part in said list as an indication of the build status for the software program.
Claim 2
Dependent Claim
310 words
In a computer, a method for building a software program from a list of source code parts comprising the steps of: i) associating each source code part in said list with a build status indicator set to indicate that the source code parts are to be compiled; ii) selecting and compiling a source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled; iii) if the compilation of said selected source code part in step ii) is successful, changing the build status indicator for said selected source code part to indicate successful compilation; iv) if the compilation of selected source code part of step ii) failed because of reference to a depended source code part whose compilation is a prerequisite to the compilation of said selected source code part and if said depended source code part is not on said list, then adding said depended source code part to said list and setting the build status indicator for said depended source code part to indicate that said depended source code part is to be compiled; v) if the compilation of said selected source code part is halted by failure to compile for a reason other than the reason of step iv) above, setting the build status indicator for said selected source code part to indicate failure to compile; vi) repeating steps ii), iii), iv) and v) for each source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled until a specific state of the build status indicators occurs during a full traverse of said list of source code parts; and vii) storing the build status indicators for each source code part in said list as an indication of the build status for the software program.
Claim 3
Independent Claim
332 words
A system for building a software program from a list of source code parts comprising the steps of: i) means for associating each source code part in said list with a build status indicator set to indicate that the source code parts are to be compiled; ii) means for selecting and compiling a source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled; iii) means, responsive to the means for compiling, for changing the build status indicator for said selected source code part to indicate successful compilation, if the compilation of said selected source code part in step ii) is successful; iv) means, responsive to the means for compiling, for adding a depended source code part to said list and setting the build status indicator for said depended source code part to indicate that said depended source code part is to be compiled, if the compilation of selected source code part failed because of a prerequisite reference to said depended source code part whose compilation is a prerequisite to the compilation of said selected source code part and if said depended source code part is not on said list; v) means, responsive to the means for compiling, for setting the build status indicator for said selected source code part to indicate failure to compile, if the compilation of said selected source code part failed to compile for a reason other than a prerequisite reference; vi) means for repeatedly activating means ii), iii), iv) and v) for each source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled, until a specific state of the build status indicators occurs during a full traverse of said list of source code parts; and vii) means for storing the build status indicators for each source code part in said list as an indication of the build status for the software program.
Claim 4
Independent Claim
332 words
A system for building a software program from a list of source code parts comprising the steps of: i) means for associating each source code part in said list with a build status indicator set to indicate that the source code parts are to be compiled; ii) means for selecting and compiling a source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled; iii) means, responsive to the means for compiling, for changing the build status indicator for said selected source code part to indicate successful compilation, if the compilation of said selected source code part in step ii) is successful; iv) means, responsive to the means for compiling, for adding a depended source code part to said list and setting the build status indicator for said depended source code part to indicate that said depended source code part is to be compiled, if the compilation of selected source code part failed because of a prerequisite reference to said depended source code part whose compilation is a prerequisite to the compilation of said selected source code part and if said depended source code part is not on said list; v) means, responsive to the means for compiling, for setting the build status indicator for said selected source code part to indicate failure to compile, if the compilation of said selected source code part failed to compile for a reason other than a prerequisite reference; vi) means for repeatedly activating means ii), iii), iv) and v) for each source code part in said list whose status indicator is set to indicate that said selected source code part is to be compiled, until a specific state of the build status indicators occurs during a full traverse of said list of source code parts; and vii) means for storing the build status indicators for each source code part in said list as an indication of the build status for the software program.
Claim 5
Dependent Claim
30 words
A method as in claim 1 wherein the specific state of the build status indicators recited in step vi) is that there is no change in any build status indicator.
Claim 6
Dependent Claim
30 words
A system as in claim 2 wherein the specific state of the build status indicators recited in step vi) is that there is no change in any build status indicator.
References Cited (Backward Citations)
US4330822A
Cited
US4658351A
Cited
US4791554A
Cited
US4852001A
Cited
US5182807A
Cited
US5051893A
Cited
US4949255A
Cited
US5175856A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1997-12-19 | 1998-06-20 | 1998-12-20 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2001-12-19 | 2002-06-20 | 2002-12-20 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2005-12-19 | 2006-06-20 | 2006-12-20 | $7700.00 | Window Closed / Lapsed |