首页> 外国专利> System and method for grid-based distribution of Java project compilation

System and method for grid-based distribution of Java project compilation

机译:Java项目编译的基于网格的分发的系统和方法

摘要

A system for automatically segmenting the compilation of a large Java project under a controller node to a grid of slave nodes so as to reduce build time. A build tree scanner at the controller node sizes the number of files in the project and the length of each source file. Each slave node has a complete and synchronized set of all compilable units in the project. The controller node automatically segments the source files into a number of filesets commensurate with the number and resource capacities of slave nodes available for the build, and allocates the filesets to the slave nodes. Each slave node scans each source file in its allocated fileset or filesets, builds a dependency tree comprising dependency graphs for each source file, and sends that tree to the controller node, from which the controller node then constructs a master dependency tree. The controller node uses the master dependency tree to automatically generate build filesets, which are then equitably allocated to the slave nodes, which track the time required to build each file in each allocated build fileset. Then the targets are reaped and placed on the controller node, which performs post-compilation tasks.
机译:一种系统,用于将控制器节点下的大型Java项目的编译自动分段为从节点的网格,以减少构建时间。控制器节点上的构建树扫描器确定项目中文件的数量和每个源文件的长度。每个从节点都有项目中所有可编译单元的完整且同步的集合。控制器节点自动将源文件分割为与可用于构建的从属节点的数量和资源容量相对应的多个文件集,并将这些文件集分配给这些从属节点。每个从属节点扫描其分配的一个或多个文件集中的每个源文件,构建一个包含每个源文件的依赖关系图的依赖关系树,并将该树发送到控制器节点,然后从该控制器节点构造一个主依赖关系树。控制器节点使用主依赖关系树自动生成构建文件集,然后将这些构建文件集公平地分配给从属节点,从属节点跟踪在每个已分配的构建文件集中构建每个文件所需的时间。然后收割目标并将其放置在控制器节点上,该节点执行编译后任务。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号