CN106293683B - Project compiling method and device - Google Patents

Project compiling method and device Download PDF

Info

Publication number
CN106293683B
CN106293683B CN201510324308.6A CN201510324308A CN106293683B CN 106293683 B CN106293683 B CN 106293683B CN 201510324308 A CN201510324308 A CN 201510324308A CN 106293683 B CN106293683 B CN 106293683B
Authority
CN
China
Prior art keywords
test file
compiling
version
module
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510324308.6A
Other languages
Chinese (zh)
Other versions
CN106293683A (en
Inventor
梁博
华承平
姜华
张文瓅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510324308.6A priority Critical patent/CN106293683B/en
Publication of CN106293683A publication Critical patent/CN106293683A/en
Application granted granted Critical
Publication of CN106293683B publication Critical patent/CN106293683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The disclosure relates to a project compiling method and a project compiling device, wherein the method comprises the following steps: when an instruction for compiling a target project is received, determining a target module identifier and a related module identifier contained in the target project; acquiring a test file of a preset specified version corresponding to a target module identifier and a test file of a last correct version corresponding to a related module identifier; compiling a test file with a preset specified version and a test file with a last correct version; and displaying the compiling results of the test file with the preset specified version and the test file with the last correct version. The method and the device can avoid interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project.

Description

Project compiling method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a project compiling method and device.
Background
In the process of developing a project, a project principal usually divides a project into a plurality of modules and hands each module to a plurality of development groups, so that each development group jointly develops a project, thereby improving the development progress.
Each development group can test the self-developed module in the whole project in stages in the process of developing the module. A project usually comprises a plurality of modules, and a development group needs to compile all the modules in the whole project in order to test whether the modules developed by the development group are compiled correctly in the whole project.
When a target development team needs to test a target module developed by itself, the target development team needs to compile all modules in the entire project. When all modules in the whole project are completely and correctly compiled, all modules of the whole project generate an executable file with corresponding functions, so that a target development group can utilize the executable file to test the corresponding part of the target module developed by the target development group.
However, in the compiling process, when an error occurs in a related module developed by any other development group in the whole project, the whole project cannot generate an executable file with a corresponding function, and the target development group cannot test the target module developed by the target development group, so that the development progress of the target development group is influenced.
Therefore, the related project compiling method at present enables development groups in a project to limit development progress of each other, and further reduces development progress of the whole project, so that development efficiency of the project is low.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a project compiling method and device, so that a target development team is not interfered by other related modules in a project during testing the target module in the project, thereby improving the efficiency of developing the project.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for compiling a project, including:
when an instruction for compiling a target item is received, determining a target module identifier and a related module identifier contained in the target item;
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a last correct version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the last correct version;
and displaying the compiling results of the test file of the preset specified version and the test file of the last correct version.
Optionally, the step of obtaining the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the relevant module identifier includes:
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a latest version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the latest version;
and when the test file of the latest version has an error in the compiling process, acquiring the test file of the last correct version corresponding to the relevant module identifier.
Optionally, after the step of compiling the test file of the preset specified version and the test file of the latest version, the method further includes:
judging whether the test file of the latest version has errors in the compiling process;
when the test file of the latest version has an error in the compiling process, triggering the step of acquiring the test file of the last correct version corresponding to the relevant module identifier;
and displaying the compiling results of the test file of the preset specified version and the test file of the latest version when the test file of the latest version has no error in the compiling process.
Optionally, after the displaying the compiling results of the test file of the preset specified version and the test file of the last correct version, the method further includes:
and when the compiling result is compiling success, storing the corresponding relation of the target module identification, the preset specified version and the compiling success identification, and storing the corresponding relation of the related module identification, the last correct version and the compiling success identification.
Optionally, after the displaying the compiling results of the test file of the preset specified version and the test file of the last correct version, the method further includes:
and when the compiling result of the target item is that the compiling of the test file of the preset specified version fails, storing the corresponding relation among the target module identifier, the preset specified version and the compiling failure identifier.
According to a second aspect of the embodiments of the present disclosure, there is provided a compiling apparatus for a project, including:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a target module identifier and a related module identifier contained in a target project when an instruction for compiling the target project is received;
the acquisition module is used for acquiring a test file of a preset specified version corresponding to the target module identifier and a test file of a last correct version corresponding to the related module identifier;
the compiling module is used for compiling the test file of the preset specified version and the test file of the last correct version;
and the first display module is used for displaying the test file of the preset specified version and the compiling result of the test file of the last correct version.
Optionally, the obtaining module includes:
the first obtaining sub-module is used for obtaining a test file of a preset specified version corresponding to the target module identification and a test file of a latest version corresponding to the related module identification;
the compiling submodule is used for compiling the test file of the preset specified version and the test file of the latest version;
and the second obtaining sub-module is used for obtaining the test file of the last correct version corresponding to the relevant module identifier when the test file of the latest version has an error in the compiling process.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the test file of the latest version has errors in the compiling process;
the triggering module is used for triggering the second obtaining sub-module when the test file of the latest version has an error in the compiling process;
and the second display module is used for displaying the test file of the preset specified version and the compiling result of the test file of the latest version when the test file of the latest version has no error in the compiling process.
Optionally, the apparatus further comprises:
and the first storage module is used for storing the corresponding relation between the target module identifier, the preset specified version and the compiling success identifier and storing the corresponding relation between the related module identifier, the last correct version and the compiling success identifier when the compiling result is that the compiling is successful.
Optionally, the apparatus further comprises:
and the second storage module is used for storing the corresponding relation among the target module identifier, the preset specified version and the compiling failure identifier when the compiling result of the target item is that the compiling of the test file of the preset specified version fails.
According to a third aspect of the embodiments of the present disclosure, there is provided a compiling apparatus of a project, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an instruction for compiling a target item is received, determining a target module identifier and a related module identifier contained in the target item;
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a last correct version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the last correct version;
and displaying the compiling results of the test file of the preset specified version and the test file of the last correct version.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: in order to test whether a test file of a preset specified version corresponding to a target module identifier in a target project is correct, when an instruction for compiling the target project is received, the test file of the preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to a related module identifier need to be obtained, and then the test file of the preset specified version and the test file of the previous correct version are compiled, so that it can be ensured that no error occurs in the test files corresponding to other related module identifiers in the target project, and the purpose of testing the test file of the preset specified version corresponding to the target module identifier is achieved. Therefore, the method and the device can avoid interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, so that the efficiency of developing the target project is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of compiling a project in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating another method of compiling an item in accordance with an illustrative embodiment.
FIG. 3 is a flow diagram illustrating yet another method of compiling a project in accordance with an illustrative embodiment.
FIG. 4 is a schematic diagram illustrating an apparatus for compiling an item in accordance with an example embodiment.
FIG. 5 is a schematic diagram illustrating another means of compiling an item, according to an example embodiment.
Fig. 6 is a schematic diagram illustrating yet another apparatus for compiling items according to an example embodiment.
Fig. 7 is a schematic diagram illustrating yet another apparatus for compiling items according to an example embodiment.
Fig. 8 is a schematic diagram illustrating yet another apparatus for compiling items according to an example embodiment.
FIG. 9 is a block diagram illustrating an apparatus for compiling an item in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a compiling method of an item according to an exemplary embodiment, and as shown in fig. 1, the compiling method of the item shown in fig. 1 may be used in a terminal. The project compiling method provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. The method comprises the following steps.
In step S11, upon receiving an instruction to compile the target item, the target module identification and the related module identification contained in the target item are determined.
The method provided by the disclosure can be applied to a terminal, and the terminal can be a desktop computer or a notebook computer and other devices. The target item refers to a software item which can be developed by using a software development tool, for example, the target item may be a software item of an android system, the target item may also be a software item of a certain game, and the target item may also be a software item of a certain shopping website. The target project may include a plurality of modules, and all modules in the target project may be classified into a target module and a related module, where the target module is a module that developers want to compile and test in the target project, and the related module is another module that developers do not pay attention to in the target project.
After the target module and the related modules are developed by different development groups, the target module and the related modules exist in the form of test files, and the development groups store the test files in corresponding folders in a code server, so that the test files of different versions corresponding to the different modules can be obtained when the target project is compiled.
For example, assume that the target project is a software development project of an android system, a target module in the android system is a calculator module, the target module is identified as JSQ, a related module in the android system is a browser module, and the related module is identified as LLQ. The first development group is responsible for the development work of the calculator module, and the second development group is responsible for the development work of the browser module. When the first development group finishes developing the 1.0 version test file corresponding to the JSQ, the first development group uploads the 1.0 version test file corresponding to the JSQ to the directory of \ APP \ JSQ of the code server; when the second development group finishes developing the 1.0 version test file corresponding to the LLQ, the second development group uploads the 1.0 version test file corresponding to the JSQ to the directory of \ APP \ LLQ of the code server.
When the terminal receives an instruction for compiling the target project, which is input by a worker, the terminal needs to determine the target module identifier and the related module identifier included in the target project, so that the test file can be obtained through the target module identifier and the related module identifier in the target project.
The terminal can determine the target module identification and the related module identification contained in the target item through the list file corresponding to the target item, and the list file corresponding to the target item comprises four fields of ' module identification ', ' acquired version ', ' download directory ' and ' whether the target module identification is included in the list file. The fourth field "whether the fourth field is the target module identifier" can be modified by the developer, and the default value of "whether the fourth field is the target module identifier" is negative, so that the developer can rewrite the field "whether the fourth field is the target module identifier" corresponding to the module identifier of the target module to be tested to "yes", and then determine the module identifier of the target module to be tested as the target module identifier, thereby distinguishing the target module identifier and the related module identifier in the target project. In addition, if the default value of the second field "acquired version" is "last correct version", and the developer wishes to test a specific version, the developer needs to rewrite the default value of "acquired version" to the version number to be tested.
For example, please refer to table 1, which shows a list file corresponding to the target item in table 1. Assuming that the target project is a software development project of an android system, the android system comprises a calculator module, a browser module and a weather module, wherein the module identifier of the calculator module is JSQ, the module identifier of the browser module is LLQ, and the module identifier of the weather module is TQ. Since the developer wants to determine the module identifier LLQ of the browser module as the target module identifier, the developer needs to rewrite "no" of the "whether it is the target module identifier" field corresponding to the module identifier LLQ to "yes". After the developer rewrites the 'whether target module identification' field corresponding to the LLQ into 'yes', the target module identification in the android system is LLQ, and the related module identification in the android system comprises JSQ and TQ, so that the target module identification and the related module identification in the android system can be distinguished. Moreover, since the developer wants to test the test file of the version 3.0 corresponding to the module identifier LLQ, the developer needs to rewrite the "acquired version" field corresponding to the module identifier LLQ from the "last correct version" to the "version 3.0".
Module identification Acquired version Downloading directory Whether it is a target module identification
JSQ Last correct version \APP\JSQ Whether or not
LLQ Version 3.0 \APP\LLQ Is that
TQ Last correct version \APP\TQ Whether or not
TABLE 1
Therefore, when the terminal receives an instruction for compiling the target project, which is input by a worker, the terminal can determine the target module identifier and the related module identifier according to the field of 'whether the target module identifier is in the list file corresponding to the target project'. If the content of the field 'whether the module identifier is the target module identifier' corresponding to the module identifier is yes, the module identifier can be determined to be the target module identifier; if the contents of the "if target module identification" field corresponding to the module identification is no, then the module identification may be determined to be a related module identification.
In step S12, a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier are obtained.
After the terminal determines the target module identifier and the related module identifier included in the target project, the terminal needs to acquire the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the related module identifier, so that the terminal can compile the test file of the preset specified version and the test file of the last correct version.
Because the same module identifier may correspond to a plurality of different versions of the test file, each time the terminal compiles the target item, the terminal records the compiling condition of each module identifier in the target item in the database corresponding to the pre-established module identifier. The database corresponding to the module identifier comprises three fields of module identifier, version number and whether compiling is successful.
In the process that the terminal acquires the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the related module identifier, a database corresponding to each module identifier and a list file corresponding to the target item which are established in advance need to be accessed.
Since the process of the terminal acquiring the test file of the preset specified version corresponding to the target module identifier is different from the process of acquiring the test file of the last correct version corresponding to the relevant module identifier, the following description is respectively given.
For the situation that the preset specified version corresponding to the target module identifier is the version number written by the developer, the step of acquiring the test file of the preset specified version corresponding to the target module identifier by the terminal comprises the following steps: firstly, the terminal acquires version information of an acquired version and directory information of a download directory corresponding to a target module identifier from a list file corresponding to a target item; then, the terminal determines a folder where the target module identifier is located in the code server by using the obtained directory information; thirdly, the terminal searches the test file in the determined folder by using the version information; and finally, the terminal downloads the found test file to the local in the code server.
For example, please refer to table 2, which shows a list file corresponding to the target item in table 2. Assuming that the target project is a software development project of an android system, the android system comprises a calculator module and a browser module, the module identifier of the calculator module is JSQ, and the module identifier of the browser module is LLQ. The target module in the android system is identified as LLQ, and the related module in the android system is identified as JSQ. In the process of acquiring a test file of a preset specified version corresponding to a target module identifier by a terminal, firstly, acquiring an version information 3.0 version of an acquired version and directory information \ APP \ LLQ of a download directory corresponding to the target module identifier LLQ in a list file corresponding to an android system by the terminal; then, the terminal determines a folder LLQ where the target module identifier LLQ is located in a code server by using the obtained directory information \ APP \ LLQ; thirdly, the terminal searches the test file in the determined folder LLQ by using the version information 3.0 version; and finally, the terminal downloads the found test file to the local in the code server.
Module identification Acquired version Downloading directory Whether it is a target module identification
JSQ Last correct version \APP\JSQ Whether or not
LLQ Version 3.0 \APP\LLQ Is that
TABLE 2
For the condition that the preset specified version corresponding to the target module identifier is the latest version, the step of acquiring the test file of the preset specified version corresponding to the target module identifier by the terminal comprises the following steps: firstly, the terminal acquires version information of an acquired version and directory information of a download directory corresponding to a target module identifier from a list file corresponding to a target item; secondly, the terminal determines a folder where the target module identification is located in the code server by using the obtained directory information; thirdly, the terminal searches the test file in the determined folder by using the version information; and finally, the terminal downloads the found test file to the local in the code server.
For example, please refer to table 3, which shows a list file corresponding to the target item in table 3. Assuming that the target project is a software development project of an android system, the android system comprises a calculator module and a browser module, the module identifier of the calculator module is JSQ, and the module identifier of the browser module is LLQ. The target module in the android system is identified as LLQ, and the related module in the android system is identified as JSQ. In the process of acquiring the test file of the latest version corresponding to the target module identifier by the terminal, firstly, the terminal acquires the version information 'latest version' of the 'acquired version' and the directory information \ APP \ LLQ of the 'download directory' corresponding to the target module identifier LLQ in the list file corresponding to the target item; secondly, the terminal determines a folder LLQ where a target module identifier LLQ is located in a code server by using the obtained directory information \ APP \ LLQ; thirdly, the terminal searches the test file in the determined file folder LLQ by using the version information 'latest version'; and finally, the terminal downloads the found test file to the local in the code server.
Module identification Acquired version Downloading directory Whether it is a target module identification
JSQ Last correct version \APP\JSQ Whether or not
LLQ Latest version \APP\LLQ Is that
TABLE 3
The method for acquiring the test file of the last correct version corresponding to the relevant module identifier by the terminal comprises the following steps: firstly, the terminal acquires version information of an acquired version and directory information of a download directory corresponding to a relevant module identifier from a list file corresponding to a target project; then, the terminal determines the version number corresponding to the version information in a database corresponding to the relevant module identifier; secondly, the terminal determines a folder where the target module identification is located in the code server by using the obtained directory information; thirdly, the terminal searches the test file in the determined folder by using the version number corresponding to the version information; and finally, the terminal downloads the found test file to the local in the code server.
For example, please refer to tables 4 and 5, where table 4 shows a list file corresponding to the target item, and table 5 shows a database corresponding to the relevant module identifier. Assuming that the target project is a software development project of an android system, the android system comprises a calculator module and a browser module, the module identifier of the calculator module is JSQ, and the module identifier of the browser module is LLQ. The target module in the android system is identified as LLQ, and the related module in the android system is identified as JSQ. In the process of acquiring the test file of the last correct version corresponding to the relevant module identifier by the terminal, firstly, the terminal acquires the version information of the "last correct version" and the directory information \ APP \ JSQ of the "download directory" of the "acquired version" corresponding to the relevant module identifier JSQ in the list file corresponding to the target project; then, the terminal determines the version number 2.0 version corresponding to the version information 'last correct version' in the database corresponding to the related module identification JSQ; secondly, the terminal determines a folder JSQ where the target module identification JSQ is located in a code server by using the obtained directory information \ APP \ JSQ; thirdly, the terminal searches the test file in the determined JSQ by using the version number 2.0 version corresponding to the version information 'last correct version'; and finally, the terminal downloads the found test file to the local in the code server.
Module identification Acquired version Downloading directory Whether it is a target module identification
JSQ Last correct version \APP\JSQ Whether or not
LLQ Version 4.0 \APP\LLQ Is that
TABLE 4
Module identification Version number Whether the compilation was successful
JSQ Version 3.0 Whether or not
JSQ Version 2.0 Is that
JSQ Version 1.0 Is that
TABLE 5
In step S13, a preset specified version of the test file and the last correct version of the test file are compiled.
After the terminal acquires the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the relevant module identifier, the terminal needs to start compiling the test file of the preset specified version and the test file of the last correct version.
In step S14, the compilation results of the test file of the preset specified version and the test file of the last correct version are displayed.
After the terminal compiles the test file with the preset specified version and the test file with the last correct version, the terminal displays the compiling result. Because the last correct version of the test file corresponding to the relevant module identifier in the target project is correct, the compilation result can have two conditions, the first condition is that the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the relevant module identifier are compiled correctly, and all modules of the target project can generate an executable file with corresponding functions, so that developers can utilize the executable file to test the part corresponding to the target module developed by the developers; the second situation is that the test file of the preset specified version corresponding to the target module identifier fails to be compiled, and the test file of the last correct version corresponding to the relevant module identifier is compiled correctly, so that developers can improve the site where the test file of the preset specified version corresponding to the target module identifier fails to be compiled.
Therefore, no matter in any one of the two cases, the test file of the last correct version corresponding to the relevant module identifier is compiled correctly in the test process, so that the purpose of testing the test file of the preset specified version corresponding to the target module identifier by developers is achieved, namely, the test file of the preset specified version corresponding to the target module identifier in the test target project is not interfered by other relevant modules in the target project, and the efficiency of developing the target project is improved.
After step S14, if the compiling result is that the compiling is successful, the terminal stores the corresponding relationship between the target module identifier, the preset specified version and the compiling success identifier in the database corresponding to the target module identifier, and stores the corresponding relationship between the relevant module identifier, the last correct version and the compiling success identifier in the database corresponding to the relevant module identifier, so as to record the successful compiling condition of the test file of the preset specified version corresponding to the target module identifier each time and the successful compiling condition of the test file of the last correct version corresponding to the relevant module identifier each time. If the compiling result of the target item is that the compiling of the test file of the preset specified version fails, the terminal stores the corresponding relation of the target module identifier, the preset specified version and the compiling failure identifier in the database corresponding to the target module identifier, so that the condition of the compiling failure of the test file of the preset specified version corresponding to the target module identifier every time can be recorded.
To sum up, in the embodiment shown in fig. 1, in order to test whether the test file of the preset specified version corresponding to the target module identifier in the target item is correct, when an instruction for compiling the target item is received, the test file of the preset specified version corresponding to the target module identifier and the test file of the previous correct version corresponding to the related module identifier need to be obtained, and then the test file of the preset specified version and the test file of the previous correct version are compiled, so that it can be ensured that the test files corresponding to other related module identifiers in the target item do not have errors, and the purpose of testing the test file of the preset specified version corresponding to the target module identifier is achieved. Therefore, the method and the device can avoid interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, so that the efficiency of developing the target project is improved.
Fig. 2 is a flowchart illustrating another item compiling method according to an exemplary embodiment, and as shown in fig. 2, the item compiling method shown in fig. 2 may be used in a terminal. Fig. 2 is an alternative embodiment based on fig. 1, and in the embodiment shown in fig. 2, the same parts as those of the embodiment shown in fig. 1 can be introduced and explained with reference to the embodiment shown in fig. 1. The method shown in fig. 2 comprises the following steps.
In step S21, upon receiving an instruction to compile the target item, the target module identification and the related module identification contained in the target item are determined.
In step S22, a preset specified version of the test file corresponding to the target module identifier and a latest version of the test file corresponding to the relevant module identifier are obtained.
After the terminal determines the target module identifier and the related module identifier included in the target item, in order to ensure that the test file of the latest version corresponding to the related module identifier can be compiled, the terminal needs to acquire the test file of the latest version corresponding to the related module identifier.
In step S23, a preset specified version of the test file and the latest version of the test file are compiled.
In step S24, when the latest version of the test file has an error during the compilation process, the last correct version of the test file corresponding to the relevant module identifier is obtained.
After the terminal compiles the test file of the preset specified version and the test file of the latest version, if the test file of the latest version corresponding to the relevant module identifier has an error in the terminal compiling process, the terminal needs to acquire the test file of the last correct version corresponding to the relevant module identifier in order to ensure that the compiling error of the test file of the latest version corresponding to the relevant module identifier does not influence the compiling of the test file of the preset specified version corresponding to the target module identifier.
After the latest version of the test file is wrong in the terminal compiling process, the terminal stores the relevant module identification, the corresponding relation between the latest version and the compiling failure identification in the database corresponding to the relevant module identification so as to record the compiling condition of the latest version of the test file corresponding to the relevant module identification every time.
In step S25, a preset specified version of the test file and the last correct version of the test file are compiled.
After the terminal acquires the test file of the last correct version corresponding to the relevant module identifier, the terminal needs to recompile the test file of the preset specified version and the test file of the last correct version.
In step S26, the compilation results of the test file of the preset specified version and the test file of the last correct version are displayed.
After the terminal compiles the test file with the preset specified version and the test file with the last correct version, the terminal displays the compiling result. Because the last correct version of the test file corresponding to the relevant module identifier in the target project is correct, the compilation result can have two conditions, the first condition is that the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the relevant module identifier are compiled correctly, and all modules of the target project can generate an executable file with corresponding functions, so that developers can utilize the executable file to test the part corresponding to the target module developed by the developers; the second situation is that the test file of the preset specified version corresponding to the target module identifier fails to be compiled, and the test file of the last correct version corresponding to the relevant module identifier is compiled correctly, so that developers can improve the site where the test file of the preset specified version corresponding to the target module identifier fails to be compiled.
Therefore, no matter in any one of the two cases, the test file of the last correct version corresponding to the relevant module identifier is compiled correctly in the test process, so that the purpose of testing the test file of the preset specified version corresponding to the target module identifier by developers is achieved, namely, the test file of the preset specified version corresponding to the target module identifier in the test target project is not interfered by other relevant modules in the target project, and the efficiency of developing the target project is improved.
After step S26, if the compiling result is that the compiling is successful, the terminal stores the corresponding relationship between the target module identifier, the preset specified version and the compiling success identifier in the database corresponding to the target module identifier, and stores the corresponding relationship between the relevant module identifier, the last correct version and the compiling success identifier in the database corresponding to the relevant module identifier, so as to record the successful compiling condition of the test file of the preset specified version corresponding to the target module identifier each time and the successful compiling condition of the test file of the last correct version corresponding to the relevant module identifier each time. If the compiling result of the target item is that the compiling of the test file of the preset specified version fails, the terminal stores the corresponding relation of the target module identifier, the preset specified version and the compiling failure identifier in the database corresponding to the target module identifier, so that the condition of the compiling failure of the test file of the preset specified version corresponding to the target module identifier every time can be recorded.
Fig. 3 is a flowchart illustrating a compiling method of a further item according to an exemplary embodiment, and as shown in fig. 3, the compiling method of the item shown in fig. 3 may be used in a terminal. Fig. 3 is an alternative embodiment based on fig. 2, and in the embodiment shown in fig. 3, the same parts as those of the embodiment shown in fig. 2 can be introduced and explained with reference to the embodiment shown in fig. 2. The method shown in fig. 3 comprises the following steps.
In step S31, upon receiving an instruction to compile the target item, the target module identification and the related module identification contained in the target item are determined.
In step S32, a preset specified version of the test file corresponding to the target module identifier and a latest version of the test file corresponding to the relevant module identifier are obtained.
In step S33, a preset specified version of the test file and the latest version of the test file are compiled.
In step S34, it is determined whether the latest version of the test file has an error during compilation, and if so, step S35 is triggered, otherwise, step S38 is triggered.
After the terminal compiles the test file with the preset specified version and the test file with the latest version, the terminal needs to judge whether the test file with the latest version corresponding to the relevant module identifier has an error in the compiling process, and when the test file with the latest version has an error in the compiling process, the terminal needs to trigger step S35 to acquire the test file with the last correct version corresponding to the relevant module identifier in order to ensure that the compiling error of the test file with the latest version corresponding to the relevant module identifier does not influence the compiling of the test file with the preset specified version corresponding to the target module identifier; when the latest version of the test file has no error during the compiling process, the terminal needs to trigger step S38 to display the compiling results of the preset specified version of the test file and the latest version of the test file.
In step S35, the relevant module identifier is obtained corresponding to the last correct version of the test file.
In step S36, a preset specified version of the test file and the last correct version of the test file are compiled.
In step S37, the compilation results of the test file of the preset specified version and the test file of the last correct version are displayed.
After the terminal compiles the test file with the preset specified version and the test file with the last correct version, the terminal displays the compiling result. Because the last correct version of the test file corresponding to the relevant module identifier in the target project is correct, the compilation result can have two conditions, the first condition is that the test file of the preset specified version corresponding to the target module identifier and the test file of the last correct version corresponding to the relevant module identifier are compiled correctly, and all modules of the target project can generate an executable file with corresponding functions, so that developers can utilize the executable file to test the part corresponding to the target module developed by the developers; the second situation is that the test file of the preset specified version corresponding to the target module identifier fails to be compiled, and the test file of the last correct version corresponding to the relevant module identifier is compiled correctly, so that developers can improve the site where the test file of the preset specified version corresponding to the target module identifier fails to be compiled.
Therefore, no matter in any one of the two cases, the test file of the last correct version corresponding to the relevant module identifier is compiled correctly in the test process, so that the purpose of testing the test file of the preset specified version corresponding to the target module identifier by developers is achieved, namely, the test file of the preset specified version corresponding to the target module identifier in the test target project is not interfered by other relevant modules in the target project, and the efficiency of developing the target project is improved.
After step S37, if the compiling result is that the compiling is successful, the terminal stores the corresponding relationship between the target module identifier, the preset specified version and the compiling success identifier in the database corresponding to the target module identifier, and stores the corresponding relationship between the relevant module identifier, the last correct version and the compiling success identifier in the database corresponding to the relevant module identifier, so as to record the successful compiling condition of the test file of the preset specified version corresponding to the target module identifier each time and the successful compiling condition of the test file of the latest version corresponding to the relevant module identifier each time. If the compiling result of the target item is that the compiling of the test file of the preset specified version fails, the terminal stores the corresponding relation of the target module identifier, the preset specified version and the compiling failure identifier in the database corresponding to the target module identifier, so that the condition of the compiling failure of the test file of the preset specified version corresponding to the target module identifier every time can be recorded.
In step S38, the compilation results of the test file of the preset specified version and the test file of the latest version are displayed.
After step S38, if the compiling result is that the compiling is successful, the terminal stores the corresponding relationship between the target module identifier, the preset specified version and the compiling success identifier in the database corresponding to the target module identifier, and stores the corresponding relationship between the relevant module identifier, the latest version and the compiling success identifier in the database corresponding to the relevant module identifier, so as to record the successful compiling condition of the test file of the preset specified version corresponding to the target module identifier each time, and the successful compiling condition of the test file of the latest version corresponding to the relevant module identifier each time. If the compiling result of the target item is that the compiling of the test file of the preset specified version fails, the terminal stores the corresponding relation of the target module identifier, the preset specified version and the compiling failure identifier in the database corresponding to the target module identifier, so that the condition of the compiling failure of the test file of the preset specified version corresponding to the target module identifier every time can be recorded.
FIG. 4 is a schematic diagram illustrating an apparatus for compiling an item in accordance with an example embodiment. The project compiling device provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. Referring to fig. 4, the apparatus includes a determination module 11, an acquisition module 12, a compiling module 13, and a first display module 14. Wherein:
and the determining module 11 is configured to determine, when an instruction for compiling the target item is received, a target module identifier and a related module identifier included in the target item.
The obtaining module 12 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier.
And the compiling module 13 is used for compiling the test file with the preset specified version and the test file with the last correct version.
The first display module 14 is configured to display the compilation result of the test file with the preset specified version and the test file with the last correct version.
FIG. 5 is a schematic diagram illustrating another means of compiling an item, according to an example embodiment. The project compiling device provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. Referring to fig. 5, the apparatus includes a determination module 21, an acquisition module 22, a compiling module 23, and a first display module 24, and the acquisition module 22 includes a first acquisition sub-module 221, a compiling sub-module 222, and a second acquisition sub-module 223. Wherein:
the determining module 21 is configured to determine, when an instruction for compiling the target item is received, a target module identifier and a related module identifier included in the target item.
The obtaining module 22 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier.
And the compiling module 23 is configured to compile the test file of the preset specified version and the test file of the last correct version.
The first display module 24 is configured to display the preset test file of the specified version and the compiling result of the test file of the last correct version.
The first obtaining sub-module 221 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a latest version corresponding to the relevant module identifier.
And the compiling sub-module 222 is configured to compile the test file of the preset specified version and the test file of the latest version.
The second obtaining sub-module 223 is configured to obtain, when the test file of the latest version has an error in the compiling process, the test file of the last correct version corresponding to the relevant module identifier.
FIG. 6 is a schematic diagram illustrating another means of compiling an item, according to an example embodiment. The project compiling device provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. Referring to fig. 6, the apparatus includes a determining module 31, an obtaining module 32, a compiling module 33, a first displaying module 34, a judging module 35, a triggering module 36, and a second displaying module 37, where the obtaining module 32 includes a first obtaining sub-module 321, a compiling sub-module 322, and a second obtaining sub-module 323. Wherein:
the determining module 31 is configured to determine, when receiving an instruction to compile the target item, a target module identifier and a related module identifier included in the target item.
The obtaining module 32 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier.
And the compiling module 33 is used for compiling the test file with the preset specified version and the test file with the last correct version.
The first display module 34 is configured to display the preset specified version of the test file and the compilation result of the last correct version of the test file.
The judging module 35 is configured to judge whether an error occurs in the test file of the latest version in the compiling process.
The triggering module 36 is configured to trigger the second obtaining sub-module 323 when the test file of the latest version has an error in the compiling process.
The second display module 37 is configured to display the compilation results of the test file of the preset specified version and the test file of the latest version when no error occurs in the test file of the latest version during the compilation process.
The first obtaining sub-module 321 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a latest version corresponding to the relevant module identifier.
And the compiling submodule 322 is used for compiling the test file with the preset specified version and the test file with the latest version.
The second obtaining sub-module 323 is configured to obtain, when the test file of the latest version has an error in the compiling process, the test file of the last correct version corresponding to the relevant module identifier.
Fig. 7 is a schematic diagram illustrating yet another apparatus for compiling items according to an example embodiment. The project compiling device provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. Referring to fig. 7, the apparatus includes a determination module 41, an acquisition module 42, a compiling module 43, a first display module 44, and a first storage module 45. Wherein:
the determining module 41 is configured to determine, when an instruction for compiling the target item is received, a target module identifier and a related module identifier included in the target item.
The obtaining module 42 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier.
And a compiling module 43 for compiling the test file with the preset specified version and the test file with the last correct version.
The first display module 44 is configured to display a compilation result of the test file of the preset specified version and the test file of the last correct version.
The first storage module 45 is configured to store the corresponding relationship between the target module identifier, the preset specified version and the successful compiling identifier, and store the corresponding relationship between the relevant module identifier, the previous correct version and the successful compiling identifier when the compiling result is that the compiling is successful.
Fig. 8 is a schematic diagram illustrating yet another apparatus for compiling items according to an example embodiment. The project compiling device provided by the disclosure can be free from interference of other related modules in the target project in the process of testing the test file of the preset specified version corresponding to the target module identifier in the target project, thereby improving the efficiency of developing the target project. Referring to fig. 8, the apparatus includes a determination module 51, an acquisition module 52, a compiling module 53, a first display module 54, and a second storage module 55. Wherein:
the determining module 51 is configured to determine, when receiving an instruction to compile the target item, a target module identifier and a related module identifier included in the target item.
The obtaining module 52 is configured to obtain a test file of a preset specified version corresponding to the target module identifier and a test file of a previous correct version corresponding to the relevant module identifier.
And the compiling module 53 is configured to compile the test file of the preset specified version and the test file of the last correct version.
The first display module 54 is configured to display the compilation result of the test file with the preset specified version and the test file with the last correct version.
And the second storage module 55 is configured to store the target module identifier, the preset specified version, and the compiling failure identifier when the compiling result of the target item is that the compiling of the test file of the preset specified version fails.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating an apparatus 800 for compiling an item according to an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a method of compiling a project, the method comprising: when an instruction for compiling a target project is received, determining a target module identifier and a related module identifier contained in the target project; acquiring a test file of a preset specified version corresponding to a target module identifier and a test file of a last correct version corresponding to a related module identifier; compiling a test file with a preset specified version and a test file with a last correct version; and displaying the compiling results of the test file with the preset specified version and the test file with the last correct version.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (11)

1. A method of compiling a project, comprising:
when an instruction for compiling a target item is received, determining a target module identifier and a related module identifier contained in the target item;
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a last correct version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the last correct version;
and displaying the compiling results of the test file of the preset specified version and the test file of the last correct version.
2. The method for compiling a project according to claim 1, wherein the step of obtaining the test file of the preset specified version corresponding to the target module id and the test file of the last correct version corresponding to the relevant module id comprises:
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a latest version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the latest version;
and when the test file of the latest version has an error in the compiling process, acquiring the test file of the last correct version corresponding to the relevant module identifier.
3. The method for compiling items according to claim 2, wherein after the step of compiling the preset specified version of the test file and the latest version of the test file, the method further comprises:
judging whether the test file of the latest version has errors in the compiling process;
when the test file of the latest version has an error in the compiling process, triggering the step of acquiring the test file of the last correct version corresponding to the relevant module identifier;
and displaying the compiling results of the test file of the preset specified version and the test file of the latest version when the test file of the latest version has no error in the compiling process.
4. The method for compiling items according to claim 1, wherein after the displaying the compiling results of the preset specified version of the test file and the last correct version of the test file, the method further comprises:
and when the compiling result is compiling success, storing the corresponding relation of the target module identification, the preset specified version and the compiling success identification, and storing the corresponding relation of the related module identification, the last correct version and the compiling success identification.
5. The method for compiling items according to claim 1, wherein after the displaying the compiling results of the preset specified version of the test file and the last correct version of the test file, the method further comprises:
and when the compiling result of the target item is that the compiling of the test file of the preset specified version fails, storing the corresponding relation among the target module identifier, the preset specified version and the compiling failure identifier.
6. An apparatus for compiling an item, comprising:
the system comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a target module identifier and a related module identifier contained in a target project when an instruction for compiling the target project is received;
the acquisition module is used for acquiring a test file of a preset specified version corresponding to the target module identifier and a test file of a last correct version corresponding to the related module identifier;
the compiling module is used for compiling the test file of the preset specified version and the test file of the last correct version;
and the first display module is used for displaying the test file of the preset specified version and the compiling result of the test file of the last correct version.
7. The apparatus for compiling items according to claim 6, wherein the obtaining module comprises:
the first obtaining sub-module is used for obtaining a test file of a preset specified version corresponding to the target module identification and a test file of a latest version corresponding to the related module identification;
the compiling submodule is used for compiling the test file of the preset specified version and the test file of the latest version;
and the second obtaining sub-module is used for obtaining the test file of the last correct version corresponding to the relevant module identifier when the test file of the latest version has an error in the compiling process.
8. The apparatus for compiling items according to claim 7, wherein the apparatus further comprises:
the judging module is used for judging whether the test file of the latest version has errors in the compiling process;
the triggering module is used for triggering the second obtaining sub-module when the test file of the latest version has an error in the compiling process;
and the second display module is used for displaying the test file of the preset specified version and the compiling result of the test file of the latest version when the test file of the latest version has no error in the compiling process.
9. The apparatus for compiling items according to claim 6, wherein the apparatus further comprises:
and the first storage module is used for storing the corresponding relation between the target module identifier, the preset specified version and the compiling success identifier and storing the corresponding relation between the related module identifier, the last correct version and the compiling success identifier when the compiling result is that the compiling is successful.
10. The apparatus for compiling items according to claim 6, wherein the apparatus further comprises:
and the second storage module is used for storing the corresponding relation among the target module identifier, the preset specified version and the compiling failure identifier when the compiling result of the target item is that the compiling of the test file of the preset specified version fails.
11. An apparatus for compiling an item, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an instruction for compiling a target item is received, determining a target module identifier and a related module identifier contained in the target item;
acquiring a test file of a preset specified version corresponding to the target module identification and a test file of a last correct version corresponding to the related module identification;
compiling the test file of the preset specified version and the test file of the last correct version;
and displaying the compiling results of the test file of the preset specified version and the test file of the last correct version.
CN201510324308.6A 2015-06-12 2015-06-12 Project compiling method and device Active CN106293683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510324308.6A CN106293683B (en) 2015-06-12 2015-06-12 Project compiling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510324308.6A CN106293683B (en) 2015-06-12 2015-06-12 Project compiling method and device

Publications (2)

Publication Number Publication Date
CN106293683A CN106293683A (en) 2017-01-04
CN106293683B true CN106293683B (en) 2020-06-19

Family

ID=57650010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510324308.6A Active CN106293683B (en) 2015-06-12 2015-06-12 Project compiling method and device

Country Status (1)

Country Link
CN (1) CN106293683B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970817B (en) * 2017-03-24 2019-11-15 北京小米移动软件有限公司 Fault determination method and device
CN107885503B (en) * 2017-11-11 2021-01-08 湖南大学 Iterative compilation optimization method based on program characteristic analysis
CN112860483B (en) * 2021-01-28 2024-03-12 上海卓易科技股份有限公司 Method and device for restarting compiling control after self-identification compiling failure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075207A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Method for testing local module unit
CN102193812A (en) * 2011-06-03 2011-09-21 深圳市茁壮网络股份有限公司 Code compiling method, host computer and system
CN104077217A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Method and system for compiling and issuing code file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004005058A (en) * 2002-05-30 2004-01-08 Mitsubishi Electric Corp Version management device for program module
CN102147758A (en) * 2011-03-16 2011-08-10 深圳创维数字技术股份有限公司 Automatic compiling and configuring method for equipment to be tested, device and system
US9489184B2 (en) * 2011-12-30 2016-11-08 Oracle International Corporation Adaptive selection of programming language versions for compilation of software programs
CN103530225B (en) * 2013-09-10 2016-07-06 武汉烽火网络有限责任公司 Automatization's compiler test method and realize automatization's compiler test platform of the method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075207A (en) * 2007-07-20 2007-11-21 中兴通讯股份有限公司 Method for testing local module unit
CN102193812A (en) * 2011-06-03 2011-09-21 深圳市茁壮网络股份有限公司 Code compiling method, host computer and system
CN104077217A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Method and system for compiling and issuing code file

Also Published As

Publication number Publication date
CN106293683A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
EP3057048A1 (en) Transfer method and apparatus
CN108008955B (en) Method and device for displaying user-defined control information
CN106406956B (en) Application program installation method and device
CN106775903B (en) Security policy file updating method and device
CN111221733A (en) Information processing method and device, mobile terminal and storage medium
CN111736916A (en) Dynamic expansion method and device based on Java language, electronic equipment and storage medium
CN109426504B (en) Program processing method, program processing device, electronic device and storage medium
CN106293683B (en) Project compiling method and device
CN109344051B (en) Data processing method and device, electronic equipment and storage medium
CN113377370A (en) File processing method and device, electronic equipment and storage medium
CN108153540B (en) System upgrading method, device, terminal and storage medium
CN111538502A (en) Installation package processing method and device, electronic equipment and storage medium
CN111221593A (en) Dynamic loading method and device
CN107861666B (en) Desktop application installation method and device
CN113590091A (en) Data processing method and device, electronic equipment and storage medium
CN109933357B (en) Application program upgrading method and device
CN112631695A (en) Data verification method and device, electronic equipment and storage medium
CN107193622B (en) Code compiling processing method and device and terminal
CN111831292A (en) Method and device for generating installation package, storage medium and electronic equipment
CN107526683B (en) Method and device for detecting functional redundancy of application program and storage medium
CN110659081B (en) File processing method and device for program object and electronic equipment
CN107766722B (en) Application software installation processing method and device and electronic equipment
CN111767063A (en) Resource updating method, device and equipment for application program
CN114020504B (en) Data processing method and device, electronic equipment and storage medium
CN113946346B (en) Data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant