如何理解Java项目构建系统Apache Buildr 1.4.22 ,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
与Ant相比,Buildr遵循“约定优于配置”原则,使“编译、测试、打包”更容易。
与Maven相比,开发者无需理解强大且复杂的模型,而采用Ruby/Rake作为脚本的基础,也使得开发者可以定制属于自己的脚本。
特性:
1、可以读取Maven的pom.xml构建文件,创建Buildr的构建文件
2、支持ANTLR解析器
3、支持Hibernate XDoclet和Schema任务
4、支持JUnit/TestNG测试框架
5、支持所有Ant的任务,只要你会用ant,你就会用buildr
Apache Buildr 1.4.22 发布,此版本更新内容如下:
* Change: BUILDR-704 - Updated the Sonar addon to support the latest version of SonarQube Runner. Submitted by Ross Mahony. * Added: Add support for ipr.add_glassfish_remote_configuration method that generates a remote glassfish configuration in IntelliJ IDEA project files. * Added: Add support for iml.prefix and ipr.prefix settings that prefix the generated IntelliJ IDEA project and module files. * Change: Update the buildr gemspec so that rspec is no longer a required dependency. This enables end-users to use a different version of rspec and buildr in the same project. The rspec version MUST be be compatible with the version used by Buildr if rspec features are used from within Buildr. Buildr also issues a warning if the `check` method is called and rspec has not been loaded. The warning includes directions on how to resolve the issue. Submitted by r6p. * Fixed: A long standing bug existed such that if tests failed to compile, and the option Buildr.options.test is set to :all then the compilation error would not result in a failed build. As many people set the Buildr.options.test to :all in their continuous delivery/integration tools, this has caused some problems. This has been fixed by ensuring all the problems associated with the resolving the prerequisites are not caught when Buildr.options.test is set to :all. * Change: Update checkstyle to 6.1.1. Submitted by neher. * Fixed: Avoid empty dependency issue in gwt addon if the attempting to gwt compile a project that has no src/main/java. * Fixed: Support dependencies in the gwt addon that are other local projects rather that artifacts, without forcing a compilation of dependency when parsing buildfile. * Added: Support configuration of sql dialect mapping in IDEA generated project files through methods on the ipr extension ipr.mssql_dialect_mapping, ipr.postgres_dialect_mapping and ipr.sql_dialect_mappings * Added: Support specification of the target project to which the gwt compilation artifacts are added as an asset, by using :target_project option.Thanks!
The Apache Buildr Team
看完上述内容,你们掌握如何理解Java项目构建系统Apache Buildr 1.4.22 的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。