Iterative software development environment with prioritized build rules
First Claim
1. A method comprising:
- receiving a request identifying an application;
determining whether the application corresponding to the request is present within a designated search path;
generating the application based upon automatic compilation of one or more source files, if it is determined that the application is not present within the designated search path;
determining whether regeneration of the application is needed if it is determined that the application is present within the designated search path; and
regenerating the application based upon automatic compilation of the one or more source files, if it is determined that regeneration is needed.
2 Assignments
0 Petitions
Accused Products
Abstract
An iterative software development environment is provided to perform modified dependency analyses for use in building a target file and all the files on which it depends from one or more source files using a set of prioritized build rules. In one embodiment, the build rules indicate how different types of target files can be generated from different source file types. A given target file type may be associated with several rules, each having a different priority, for building the target from different source file types. In one embodiment, if more than one source file exists that can be used to generate a given target file, the rule with the highest priority is used. In one embodiment, the build environment identifies how to generate a particular target file by identifying the highest priority rule for which an associated source file type exists. Moreover, the development environment identifies the presence of a new source file having a corresponding build rule with a higher priority than that of the source file type(s) previously used in the generation of the target file. In one embodiment of the invention, the target file is rebuilt if such a new source file is identified, or if one or more source files previously used to build the target file are determined to have been modified more recently than that indicated by the build date/time of the target file itself.
-
Citations
36 Claims
-
1. A method comprising:
-
receiving a request identifying an application;
determining whether the application corresponding to the request is present within a designated search path;
generating the application based upon automatic compilation of one or more source files, if it is determined that the application is not present within the designated search path;
determining whether regeneration of the application is needed if it is determined that the application is present within the designated search path; and
regenerating the application based upon automatic compilation of the one or more source files, if it is determined that regeneration is needed. - View Dependent Claims (2, 3, 10, 11)
-
-
4. The method of 3, wherein if a source file corresponding to the source file type of the selected compilation rule exists within the designated source path, a representation of the source file is stored in a first persistent data structure, and
wherein if a source file corresponding to the source file type of the selected compilation rule does not exist within the designated source path, a derived source file representation is stored in a second persistent data structure.
-
12. A method comprising:
-
identifying a target file corresponding to an application identified by a request;
accessing an ordered set of compilation rules associated with the identified target file, each of the ordered set of compilation rules identifying a target file type and a corresponding source file type for use in generating the associated target file;
selecting a compilation rule from the ordered set of compilation rules; and
determining whether a source file corresponding to the source file type of the selected compilation rule exists within a designated source path for building the identified target file, wherein if a source file corresponding to the source file type of the selected compilation rule exists within a designated source path, a representation of the source file is stored in a first persistent data structure, and wherein if a source file corresponding to the source file type of the selected compilation rule does not exist within the designated source path, a derived source file representation is stored in a second persistent data structure. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. The method of 12, wherein at least one of said first and second persistent data structures comprise a list.
-
19. An article of manufacture comprising:
-
a storage medium having stored therein a plurality of programming instructions, which when executed operate to receive a request identifying an application;
determine whether the application corresponding to the request is present within a designated search path;
facilitate generation of the application based upon automatic compilation of one or more source files, if it is determined that the application is not present within the designated search path;
determine whether regeneration of the application is needed if it is determined that the application is present within the designated search path; and
facilitate regeneration of the application based upon automatic compilation of the one or more source files, if it is determined that regeneration is needed. - View Dependent Claims (20, 21, 28, 29)
-
-
22. The article of 21, wherein if a source file corresponding to the source file type of the selected compilation rule exists within the designated source path, a representation of the source file is stored in a first persistent data structure, and
wherein if a source file corresponding to the source file type of the selected compilation rule does not exist within the designated source path, a derived source file representation is stored in a second persistent data structure.
-
30. An article of manufacture comprising:
a storage medium having stored therein a plurality of programming instructions, which when executed operate to identify a target file corresponding to an application identified by a request;
access an ordered set of compilation rules associated with the identified target file, each of the ordered set of compilation rules identifying a target file type and a corresponding source file type for use in generating the associated target file;
select a compilation rule from the ordered set of compilation rules; and
determine whether a source file corresponding to the source file type of the selected compilation rule exists within a designated source path for building the identified target file, wherein if a source file corresponding to the source file type of the selected compilation rule exists within a designated source path, a representation of the source file is stored in a first persistent data structure, and wherein if a source file corresponding to the source file type of the selected compilation rule does not exist within the designated source path, a derived source file representation is stored in a second persistent data structure. - View Dependent Claims (31, 32, 33, 34, 35)
-
36. The article of 30, wherein at least one of said first and second persistent data structures comprise a list.
Specification