Method and apparatus for porting source code
AssigneeFujitsu Limited
InventorsNicholas WILSON, Jim ENRIGHT
Life of this patent
Estimating the term…
Loading patent…
AssigneeFujitsu Limited
InventorsNicholas WILSON, Jim ENRIGHT
Estimating the term…
A method of porting source code for use in a runtime environment including a tool chain with a compiler for building the source code, in which the method comprises obtaining a source code fragment associated with a build error during the source code build in the runtime environment; creating a signature of the source code fragment; automatically comparing the signature with entries in an error database constructed from a history of previous build errors in the runtime environment and their fixes in the form of source code and/or tool chain modifications; using the comparison to find one or more similar previous build errors to the build error and thus to identify one or more of the source code and/or tool chain modifications as candidate solutions to the build error; compiling the source code with each of the candidate source code and/or tool chain modifications in turn until the source code compiles without reproducing the build error; and storing the build error in the error database and storing the modification with which the source code compiles without reproducing the build error as its fix.
A method of porting source code for use in a runtime environment including a tool chain with a compiler for building the source code, the method comprising
An apparatus arranged to correct errors in porting source code for use with a new runtime environment including a tool chain with a compiler for building the source code, the apparatus comprising:
A method of porting source code for use in a runtime environment including a tool chain with a compiler for building the source code, the method comprising:
Dependencies are inferred from the claim text.