OBJECT-ORIENTED BUILD AUTOMATION - A CASE STUDY

被引:2
|
作者
Penar, Maciej [1 ]
Zychla, Wiktor [2 ]
机构
[1] Vulcan Sp Zoo, Wolowska 6, PL-51116 Wroclaw, Poland
[2] Univ Wroclaw, Fac Math & Comp Sci, Wroclaw, Poland
关键词
Build automation; continuous integration; object oriented approach; incremental build; NET; Cake Frosting;
D O I
10.31577/cai_2021_4_754
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Fast and precise build and deployment automation is a fundamental task for every project oriented on rapidly appearing changes. As a rule of thumb, the tools used for this task work as procedural-declarative frameworks - often overlooking the extra requirements for large projects like easy parallelization, precise targeting of specific subsystem or general code readability. In this article we document our findings in build automation as we have abandoned the procedural-declarative approach to object-oriented perspective of our setup environment - all implemented in the .NET build automation framework Cake Frosting. Due to the clear separation of the various layers of our system and our codebase we are able to fire up our new build-deployment routines at ease and at specific part of our ecosystem. As the whole routine is written as a C# console application we can easily manage some aspects of parallel execution (i.e. number of threads) of some tasks which results in great drop of job execution time. To further improve the execution time, we introduce the concept of proof-of-work which is a file that stores the information about the last successful build. Together, all of our concepts resulted in a fast build-deployment routine - as in pessimistic scenario we managed to drop to about 30 % of the original time. We believe that others may benefit from our case study as the concepts proposed here can be easily incorporated to any other project written in .NET (or one that is built using object-oriented command-line application) - though we would not recommend using our approach in small projects (in terms of KLOC).
引用
收藏
页码:754 / 771
页数:18
相关论文
共 50 条
  • [1] Object-Oriented Modeling of Object-Oriented Concepts A Case Study in Structuring an Educational Domain
    Pedroni, Michela
    Meyer, Bertrand
    [J]. TEACHING FUNDAMENTAL CONCEPTS OF INFORMATICS, PROCEEDINGS, 2010, 5941 : 155 - 169
  • [2] OBJECT-ORIENTED CASE
    RASMUS, DW
    [J]. BYTE, 1992, 17 (14): : 160 - 160
  • [3] Object-oriented models for advanced automation engineering
    Maffezzoni, C
    Ferrarini, L
    Carpanzano, E
    [J]. CONTROL ENGINEERING PRACTICE, 1999, 7 (08) : 957 - 968
  • [4] Topology models in AutomationML - Object-oriented basis for the automation of automation
    Hoernicke, Mario
    Messinger, Christian
    Arroyo, Esteban
    Fay, Alexander
    [J]. ATP EDITION, 2016, (05): : 28 - 41
  • [5] Application of object-oriented technology in the substation automation
    Wang, HY
    Wang, P
    Wang, WG
    He, RM
    [J]. POWERCON '98: 1998 INTERNATIONAL CONFERENCE ON POWER SYSTEM TECHNOLOGY - PROCEEDINGS, VOLS 1 AND 2, 1998, : 64 - 67
  • [6] Power distribution automation and object-oriented agents
    Sousa, O
    Vale, ZA
    Ramos, C
    Neves, J
    [J]. KES'2000: FOURTH INTERNATIONAL CONFERENCE ON KNOWLEDGE-BASED INTELLIGENT ENGINEERING SYSTEMS & ALLIED TECHNOLOGIES, VOLS 1 AND 2, PROCEEDINGS, 2000, : 297 - 300
  • [7] Object-oriented agents in power distribution automation
    Sousa, O
    Vale, ZA
    Ramos, C
    Neves, J
    [J]. MELECON 2000: INFORMATION TECHNOLOGY AND ELECTROTECHNOLOGY FOR THE MEDITERRANEAN COUNTRIES, VOLS 1-3, PROCEEDINGS, 2000, : 891 - 894
  • [8] Object-oriented software development: A case study
    Wainwright, CER
    Leung, ACK
    Leonard, R
    [J]. COMPUTER INTEGRATED MANUFACTURING SYSTEMS, 1996, 9 (04): : 245 - 255
  • [9] THE CASE FOR OBJECT-ORIENTED DATABASES
    ATWOOD, TM
    [J]. IEEE SPECTRUM, 1991, 28 (02) : 44 - 47
  • [10] Object-oriented and distributed programming of robotic and automation equipment
    Pires, JN
    [J]. INDUSTRIAL ROBOT, 2000, 27 (04): : 279 - 287