Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand Java project construction system Apache Buildr 1.4.22

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

How to understand the Java project construction system Apache Buildr 1.4.22, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

Compared with Ant, Buildr follows the principle of "convention over configuration", making it easier to compile, test, and package.

Compared with Maven, developers do not need to understand powerful and complex models, and using Ruby/Rake as the basis for scripts also allows developers to customize their own scripts.

Properties:

1. You can read the pom.xml build file of Maven and create the build file of Buildr

2. Support ANTLR parser

3. Support Hibernate XDoclet and Schema tasks

4. Support JUnit/TestNG testing framework

5. Support all Ant tasks. As long as you can use ant, you can use buildr

Apache Buildr 1.4.22 is released, and this version is updated as follows:

* 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

After reading the above, have you mastered how to understand the Java project building system Apache Buildr 1.4.22? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report