请输入您要查询的百科知识:

 

词条 Apache Buildr
释义

  1. Overview

  2. Supported technologies

  3. See also

  4. External links

{{Infobox software
| name = Apache Buildr
| logo =
| screenshot =
| caption =
| collapsible =
| developer = Apache Software Foundation
| latest release version = 1.4.20
| latest release date = {{Start date and age|2014|08|23}}
| latest preview version =
| latest preview date =
| operating system = Cross-platform
| programming language = Ruby
| genre =
| license = Apache License 2.0 v
| website = {{URL|http://buildr.apache.org/}}
}}

Buildr is an open-source build system mainly intended to build Java applications. It gives the developer a full-blown scripting language (Ruby) while writing their build scripts, which are usually missing in XML-based building environments such as Apache Ant or Apache Maven.

Overview

Buildr is based on Ruby's build system Rake, and uses Ruby as a scripting language. It uses several project automation idioms from Maven like automated artifact management (Buildr is out-of-box compatible with Maven's repositories). As opposed to the more imperative style of build systems like Ant, Buildr takes a more declarative approach in describing the project automation logic (similarly to Maven).

Though Buildr's general philosophy is similar to Maven, it uses Ruby's scripting possibilities to provide a more flexible and customizable programming model.{{fact|date=April 2014}} The user writes a Ruby build script, declaring a project, its sub-projects, artifacts, dependencies, packaging rules, etc. Based on these declarations, a list of standard targets are provided to compile or package the project, upload a prepared package to a remote repository, clean up the build results, run tests and so on. Hooks are provided to execute custom Ruby code before or after the standard targets, allowing the user to comfortably override any defaults and further specify the behavior of the standard targets. New, completely user-written targets can be added.

Supported technologies

While being mainly designed for Java, Buildr also knows how to invoke compilers for Groovy or Scala. It is also easily extendible with any custom tasks to invoke any third compiler, making it a universal, general-purpose build system. As compared with writing custom plug-ins for Ant, Ruby's flexibility and rich library make it easier and quicker to extend Buildr in any desired way.

Buildr also comes with out-of-box support technologies like Cobertura, Emma, JUnit, TestNG, JBehave, JMock. Integration with Ant is also provided.

See also

  • List of build automation software

External links

{{Portal|Java (programming language)}}
  • {{Official website}}
{{Apache}}

2 : Build automation|Software using the Apache license

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/26 4:29:50