Techniques for generating software application build scripts based on tags in comments
First Claim
1. A method of forming a computer program application from a particular file including source code in a particular language, the method comprising the computer-implemented steps of:
- receiving, from the particular file, comment data including first data indicating a build use of the comment data;
wherein the comment data is ignored by a source code processor of the particular language;
wherein the build use specifies one or more actions that are to be performed when one or more source code modules are transformed and packaged into machine-executable instructions in an executable code of the computer program application; and
generating, based on the first data, second data indicating one or more items of input for a build process that packages compiled code to form the computer program application;
wherein the computer program application when formed comprises executable code; and
wherein the build process when executed performs the one or more actions specified in the build use.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for forming an application from a particular file that has source code in a particular language include receiving, from the particular file, comment data. The comment data is ignored according to the particular language. The comment data includes build data indicating how to use the source code in a build process. The build process packages compiled code to form the application. Based on the build data in the comment data, build-input data is generated. The build-input data indicates input for the build process. These techniques automatically provide, for the application build process, build information known to the application developer who produced the source code.
100 Citations
30 Claims
-
1. A method of forming a computer program application from a particular file including source code in a particular language, the method comprising the computer-implemented steps of:
-
receiving, from the particular file, comment data including first data indicating a build use of the comment data; wherein the comment data is ignored by a source code processor of the particular language; wherein the build use specifies one or more actions that are to be performed when one or more source code modules are transformed and packaged into machine-executable instructions in an executable code of the computer program application; and generating, based on the first data, second data indicating one or more items of input for a build process that packages compiled code to form the computer program application; wherein the computer program application when formed comprises executable code; and wherein the build process when executed performs the one or more actions specified in the build use. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A method of forming an application from a particular file including source code, which source code is written in a particular language and is compilable into bytecode, the method comprising the steps of:
-
inserting, into the particular file within comment data ignored according to the particular language, first data indicating a build use of the comment data, the first data including one or more tags for an automated documentation system; providing a routine, invoked by the automated documentation system in response to the one or more tags, to produce, based on the first data, script for a build process that packages compiled code to form the application, wherein the application, when formed, comprises executable bytecode; wherein the build use specifies one or more actions that are to be performed when one or more source code modules are transformed and packaged into machine-executable instructions in the executable bytecode of the application; executing the automated documentation system to operate on the particular file and produce the script for the build process; and sending the script to the build process to form the application, wherein the build process performs the one or more actions specified in the build use.
-
-
24. A machine-implemented method comprising:
-
receiving, from a computer program source code file, comment data comprising one or more build action tags, wherein the build action tags specify program build actions for a build process to perform to package the computer program source code file into machine-executable code, wherein the comment data is ignored by a compiler process; automatically generating, based on the tags, a program build script comprising one or more program build statements for input to a build process that packages the machine-executable code, wherein the build process when executed performs the program build actions that the build action tags specify.
-
-
25. A computer-readable storage medium carrying one or more sequences of instructions for forming a computer program application from a particular file including source code in a particular language, which instructions, when executed by one or more processors, cause:
-
receiving, from the particular file, comment data including first data indicating a build use of the comment data; wherein the comment data is ignored by a source code processor of the particular language; wherein the build use specifies one or more actions that are to be performed when one or more source code modules are transformed and packaged into machine-executable instructions in an executable code of the computer program application; and generating, based on the first data, second data indicating one or more items of input for a build process that packages compiled code to form the computer program application; wherein the computer program application when formed comprises executable code; and wherein the build process when executed performs the one or more actions specified in the build use. - View Dependent Claims (26, 27, 28, 29, 30)
-
Specification