buildr

Buildr, Gradle or wait for Maven 3? [closed]

*爱你&永不变心* 提交于 2019-12-29 02:32:30
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . I am really tired of struggling with Maven 2 all the time. Build tools should not be in the way. Recently I have been looking at Buildr and Gradle. Maven 3 seems to fix some of the struggles. So, what should I go for now? Buildr? Gradle? Or wait a year for Maven 3? 回答1: No

logger.isDebugEnabled() is killing my code coverage. I'm planning to exclude it while running cobertura

孤街浪徒 提交于 2019-12-25 02:18:13
问题 I tried by adding in org.slf4j.* in cobertura.exclude. but there is no use. my buildfile require 'buildr/java/cobertura' require 'buildr/scala' require 'buildr/myProject' ..... ..... compile.options.other = %w(-encoding UTF-8) cobertura.exclude= 'org.slf4j.*' ..... ..... Please suggest how to proceed. Thank you in advance 回答1: The issue is that cobertura.exclude is to exclude files/classes in your project from being instrumented. What you want to use is cobertura.ignore , e.g., cobertura

java.lang.VerifyError when using emma / Cobertura on JDK 1.7

拟墨画扇 提交于 2019-12-23 15:21:47
问题 I am facing the exact same issue mentioned in the link below when trying to create a build using Apache Buildr. Testng, Emma, Cobertura, coverage and JDK 7 result in ClassFormatError and VerifyError I tried using the -XX:-UseSplitVerifier option(as below) when testing the artifacts but that doesn't resolve my issue. test.using( :java_args => ['-ea','-XX:-UseSplitVerifier']) Error: Instrumenting classes with emma metadata file /test-client/reports/emma/coverage.em JavaTestFilter: Unable to

Ruby on Windows7 - could not find gem

独自空忆成欢 提交于 2019-12-20 04:00:06
问题 I'm setting up a ruby Apache Buildr on a fresh Windows 7 machine. I've installed Ruby, the DevKit and installed buildr via gem install buildr wich all ran perfect. Until I tried to execute buildr, then I get an error. buildr compile C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find buildr (>= 0) amongst [atoulme-Antwrap-0.7.1, builder-2.1.2, buildr-1.4.5-x86-mswin32, buildr-as3-0.2.12, diff-lcs-1.1.2,highline-1.5.1, hoe-2.3.3, json_pure-1.4.3,

How do I find out Apache Buildr/Maven 2 repo names

左心房为你撑大大i 提交于 2019-12-17 15:35:19
问题 I'm just starting to use Apache Buildr and I'm constantly running into the problem of not knowing what repo urls and versions are available for me to use. For example I want to use Scala 2.8 in a build file, the id i previously used was: 2.8.0-SNAPSHOT But now this is not found. I also want to use the latest version of Apache POI. If I look on the maven2 repo: http://mirrors.ibiblio.org/maven2/ I can see that it only has up to version 3.2. Is there any standard way of finding repos and

How do I tell ivy4r to stay offline?

♀尐吖头ヾ 提交于 2019-12-12 10:03:01
问题 We recently switched from Ant to Buildr for building our projects. We use Ivy for dependency management, using the ivy4r Buildr extension. We have a local repository at the office which is used as a cache for public artifacts and in which we also publish our own artifacts. Now for the problem: I'd like to be able to build my project when I do not have access to the office repository. Buildr has a flag to tell it to work offline ( -o ), but ivy4r does not seem to take this into account. Is

How do I tell ivy4r to stay offline?

江枫思渺然 提交于 2019-12-06 09:46:14
We recently switched from Ant to Buildr for building our projects. We use Ivy for dependency management, using the ivy4r Buildr extension. We have a local repository at the office which is used as a cache for public artifacts and in which we also publish our own artifacts. Now for the problem: I'd like to be able to build my project when I do not have access to the office repository. Buildr has a flag to tell it to work offline ( -o ), but ivy4r does not seem to take this into account. Is there any way to make Ivy not try to download artifacts? I have them all available in the cache on my

Buildr vs Gradle, pros and cons? [closed]

不打扰是莪最后的温柔 提交于 2019-12-05 08:28:29
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Have somebody use both Buildr and Gradle and can make comparison of this build tools. From first look they are very similar. But what

What's with all the Java Build tools?

别来无恙 提交于 2019-12-03 18:26:01
问题 what's the point of using ant, maven, and buildr? won't the using build in eclipse or netbeans work fine? i'm just curious what the purpose and benefit of extended build tools are. 回答1: Dependency Management : The build tools follow a component model that provides hints on where to look for dependencies. In Eclipse / Netbeans, you have to depend on a JAR and you don't really know if this JAR has been updated or not. With these build tools, they 'know' updates in dependencies (generally

《编写可维护的 JavaScript》读书笔记第14章:Ant

冷暖自知 提交于 2019-11-30 20:14:03
1. 安装 运行 Ant 需要 Java 环境。 Windows 下的安装过程非常简单: 下载 Ant 压缩包 解压缩到某个目录 配置环境变量,将 {Ant 安装目录}\bin 路径存在 PATH 中,用分号与其他路径隔开 进入 CMD,输入:ant -version。如果出现 Ant 的版本信息( 目前最新版本是 Ant 1.9.3) ,说明安装配置成功。 2. 配置文件 运行 Ant 时,默认会寻找当前目录下的 build.xml 文件,这是使用 Ant 进行构建的配置文件,通常放在项目的根目录下。 Ant 构建系统有三个基本组成部分: 任务(task) 目标(target) 项目(project) 示例(build.xml): <project name="maintainablejs" default="hello"> <target name="hello"> <echo>Hello world!</echo> </target> </project> 3. 执行构建 打开命令行进入 build.xml 所在目录,输入: ant 就可以看到执行结果了。也可以指定要执行的目标: ant hello 4. 目标操作的依赖 一个要执行的目标可能依赖另一个目标,这需要使用 depends 属性指定,多个依赖之间用半角逗号隔开,先执行的目标要放在前面,这样它才会被先执行。例如: