FRAMEWORK FOR AUTOMATICALLY MERGING CUSTOMIZATIONS TO STRUCTURED CODE THAT HAS BEEN REFACTORED
First Claim
1. A method of generating a tool for merging customizations made to a first version of a software artifact when migrating to a second version of the software artifact, the method comprising:
- instantiating a mapping information element in a first data store for each top-level data element in a first code set for the first version that does not have a complementary data element in a second code set for the second version;
requesting merge instructions for each top-level data element in the first code set for which merge instructions are not provided in the corresponding mapping information element for the top-level data element;
receiving merge instructions for each top-level data element in the first code set for which merge instructions are not provided;
determining whether the merge instructions for each top-level data element in the first code set for which merge instructions are provided require that customizations made to the top-level data element be merged into the second code set;
determining whether the merge instructions for each top-level data element in the first code set that requires customizations made to the top-level data element to be merged are valid;
requesting merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid;
receiving merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; and
storing the merge instructions received for each top-level data element in the first code set in the corresponding mapping information element in the first data store.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of generating a tool for merging customizations made to a first version of a software artifact when migrating to a second version includes instantiating a mapping element for each top-level element in a first code set that does not have a complementary element in a second code set; requesting and receiving merge instructions for each top-level element for which merge instructions are not provided in the corresponding mapping element; determining whether the merge instructions for each top-level element for which merge instructions are provided require that customizations be merged into the second code set; determining whether the merge instructions for each top-level element set that requires customizations to be merged are valid; requesting and receiving merge instructions for each top-level element for which the merge instructions are not valid; and storing the merge instructions received for each top-level element in the corresponding mapping element.
-
Citations
19 Claims
-
1. A method of generating a tool for merging customizations made to a first version of a software artifact when migrating to a second version of the software artifact, the method comprising:
-
instantiating a mapping information element in a first data store for each top-level data element in a first code set for the first version that does not have a complementary data element in a second code set for the second version; requesting merge instructions for each top-level data element in the first code set for which merge instructions are not provided in the corresponding mapping information element for the top-level data element; receiving merge instructions for each top-level data element in the first code set for which merge instructions are not provided; determining whether the merge instructions for each top-level data element in the first code set for which merge instructions are provided require that customizations made to the top-level data element be merged into the second code set; determining whether the merge instructions for each top-level data element in the first code set that requires customizations made to the top-level data element to be merged are valid; requesting merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; receiving merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; and storing the merge instructions received for each top-level data element in the first code set in the corresponding mapping information element in the first data store. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-usable medium having computer readable instructions stored thereon for execution by a processor to perform a method of generating a tool for merging customizations made to a first version of a software artifact when migrating to a second version of the software artifact, the method comprising:
-
instantiating a mapping information element in a first data store for each top-level data element in a first code set for the first version that does not have a complementary data element in a second code set for the second version; requesting merge instructions for each top-level data element in the first code set for which merge instructions are not provided in the corresponding mapping information element for the top-level data element; receiving merge instructions for each top-level data element in the first code set for which merge instructions are not provided; determining whether the merge instructions for each top-level data element in the first code set for which merge instructions are provided require that customizations made to the top-level data element be merged into the second code set; determining whether the merge instructions for each top-level data element in the first code set that requires customizations made to the top-level data element to be merged are valid; requesting merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; receiving merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; and storing the merge instructions received for each top-level data element in the first code set in the corresponding mapping information element in the first data store.
-
-
19. A data processing system comprising:
-
at least one processor; a random access memory for storing data and programs for execution by the at least one processor; and computer readable instructions stored in the random access memory for execution by the at least one processor to perform a method of generating a tool for merging customizations made to a first version of a software artifact when migrating to a second version of the software artifact, the method comprising; instantiating a mapping information element in a first data store for each top-level data element in a first code set for the first version that does not have a complementary data element in a second code set for the second version; requesting merge instructions for each top-level data element in the first code set for which merge instructions are not provided in the corresponding mapping information element for the top-level data element; receiving merge instructions for each top-level data element in the first code set for which merge instructions are not provided; determining whether the merge instructions for each top-level data element in the first code set for which merge instructions are provided require that customizations made to the top-level data element be merged into the second code set; determining whether the merge instructions for each top-level data element in the first code set that requires customizations made to the top-level data element to be merged are valid; requesting merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; receiving merge instructions for each top-level data element in the first code set for which the merge instructions are not determined to be valid; and storing the merge instructions received for each top-level data element in the first code set in the corresponding mapping information element in the first data store.
-
Specification