ABSTRACT Language-Specific Make Technology for the Java TM Programming Language

Uloženo v:
Podrobná bibliografie
Název: ABSTRACT Language-Specific Make Technology for the Java TM Programming Language
Přispěvatelé: The Pennsylvania State University CiteSeerX Archives
Zdroj: http://www.dcs.gla.ac.uk/~misha/papers/p022-dmitriev.pdf.
Sbírka: CiteSeerX
Témata: Design, Languages Keywords Java, dependency checking, make, development turnaround
Popis: 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 consistency 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.
Druh dokumentu: text
Popis souboru: application/pdf
Jazyk: English
Relation: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.62.3889
Dostupnost: http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.62.3889
http://www.dcs.gla.ac.uk/~misha/papers/p022-dmitriev.pdf
Rights: Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Přístupové číslo: edsbas.AD348B3B
Databáze: BASE
Popis
Abstrakt: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 consistency 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.