...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Language-Specific Make Technology for the Java~(TM) Programming Language
【24h】

Language-Specific Make Technology for the Java~(TM) Programming Language

机译:Java〜(TM)编程语言的特定于语言的制作技术

获取原文
获取原文并翻译 | 示例

摘要

Keeping the code of a Java~(TM) application consistent (code is consistent if all of the project classes can be recompiled together without errors) prevents late linking errors, and thus may significantly improve development turnaround time. In this paper we describe a make technology for the Java programming language, that is based on smart dependency checking, guarantees consistecy of the project code, and at the same time reduces the number of source code recompilations to the minimum. After project code consistency is initially assured by complete recompilation, the information extracted from the binary classes is stored in a so-called project database. Whenever the source code for some class C is changed, its recompiled binary is compared to the old version of C preserved in the project database. As a result, we find a minimum subset of classes that depend on C and may be affected by the particular change made to it. These are recompiled in turn, and absence of compilation errors at this phase guarantees the consistency of the new project code. To determine which dependent classes to recompile, we categorize all source incompatible changes, and for each category establish a criterion for finding the smallest possible subset of dependent classes.
机译:保持Java™应用程序的代码一致(如果所有项目类都可以重新编译而没有错误,则代码保持一致)可以防止后期出现链接错误,从而可以显着缩短开发周转时间。在本文中,我们描述了一种用于Java编程语言的make技术,该技术基于智能依赖性检查,可确保项目代码的一致性,同时将源代码重新编译的次数减少到最少。最初通过完全重新编译确保了项目代码的一致性之后,将从二进制类中提取的信息存储在所谓的项目数据库中。每当更改某个类C的源代码时,都会将其重新编译的二进制文件与保存在项目数据库中的C的旧版本进行比较。结果,我们找到了依赖于C的最小类子集,并且可能会受到对其进行特定更改的影响。这些将依次重新编译,并且在此阶段没有编译错误可确保新项目代码的一致性。为了确定要重新编译的依存类,我们对所有源不兼容的更改进行了分类,并为每个类别建立了一个标准,以查找依存类的最小可能子集。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号