发明名称 Building and packaging software
摘要 A method and apparatus for building a source code based on a project object model (POM) from a source control and for tracking a build environment of the source code is described. Plugins to complete the build as configured in the POM are downloaded from an external plugin repository. A local plugin repository is scanned to determine which plugins have already been downloaded. The local plugin repository is rescanned to determine whether any additional plugins and associated plugins POM files were downloaded during the build as build dependencies. Information of one or more referenced files is inserted into a database wherein the referenced files are identified as build dependencies. Information about the newly-built plugins and associated plugins POM files in the output directory are extracted and added to the database for use by subsequent builds.
申请公布号 US8949788(B2) 申请公布日期 2015.02.03
申请号 US200812337553 申请日期 2008.12.17
申请人 Red Hat, Inc. 发明人 Bonnet Michael Stavros
分类号 G06F9/44;G06F9/45;G06F3/048 主分类号 G06F9/44
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method comprising: building, by a processing device, a source code with a builder module in view of a project object model (POM) from a source control module, the builder module communicating with a builder file system and a building tool; determining a new file downloaded by the building of the source code; identifying the new file as a build dependency; storing, by the processing device, information of a referenced file of the source code and the new file in a database, the referenced file and the new file identified in the database as build dependencies; tracking, by the processing device, a build environment of the source code with the builder module and the referenced file; downloading a plugin to complete the building in view of the POM from an external plugin repository; scanning a local plugin repository to determine which plugins have already been downloaded; and re-scanning the local plugin repository to determine additional plugins and associated plugin POM files that were downloaded during the build as build dependencies.
地址 Raleigh NC US