Questions tagged [buildr]

A build tool for Java, Scala, Groovy, and other JVM-based projects.

Apache Buildr in its own words:

Apache Buildr is a build system for Java-based applications, including support for Scala, Groovy and a growing number of JVM languages and tools. We wanted something that’s simple and intuitive to use, so we only need to tell it what to do, and it takes care of the rest. But also something we can easily extend for those one-off tasks, with a language that’s a joy to use. And of course, we wanted it to be fast, reliable and have outstanding dependency management.

Buildr is based on the ruby build tool rake, can use ant tasks, and retrieves dependencies from maven repositories.

137 questions
60
votes
9 answers

Buildr, Gradle or wait for Maven 3?

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…
Sten Roger Sandvik
  • 2,526
  • 2
  • 19
  • 16
35
votes
3 answers

Buildr vs Gradle, pros and cons?

Have somebody use both Buildr and Gradle and can make comparison of this build tools. From first look they are very similar. But what to choose. And also it is good to hear about Scala support and various IDE integration(IDEA, NetBeans,…
user124722
34
votes
10 answers

What's with all the Java Build tools?

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.
cesar
  • 8,944
  • 12
  • 46
  • 59
9
votes
2 answers

Accessing files packaged into a Ruby Gem

I have a Buildr extension that I'm packaging as a gem. I have a collection of scripts that I want to add to a package. Currently, I have these scripts stored as a big text block that I'm writing to file. I would prefer to have individual files that…
Drew
  • 15,158
  • 17
  • 68
  • 77
9
votes
4 answers

buildr: package dependencies into a single jar

I have a java project that is built with buildr and that has some external dependencies: repositories.remote << "http://www.ibiblio.org/maven2" repositories.remote << "http://packages.example/" define "myproject" do compile.options.target =…
levinalex
  • 5,889
  • 2
  • 34
  • 48
7
votes
3 answers

Compile Scala 2.8.x code with Apache Buildr

I have been struggling to get Buildr to compile my Scala 2.8 project and I was hoping someone might have figured this out already. Currently I have the standard HelloWorld application with a buildfile like the following: ENV['JAVA_HOME'] =…
Travis Schneeberger
  • 2,010
  • 20
  • 23
6
votes
2 answers

Help Evaluating Build Tools

I'm already familiar with and use Ant & Maven, at this point I'd like to branch out to another tool and I'm deciding between 'Buildr' and 'Gradle'. I'd appreciate insight/feedback from those that have either used one or both of these tools, because…
tendans6
  • 175
  • 1
  • 2
  • 7
5
votes
2 answers

How can I use Ruby code in a buildr project?

How can use Ruby in a buildr project? I've used Ruby, JRuby, Java, and Clojure in quite a few separate projects. I'm currently working on a simulation app in my standard Ruby that I wanted to try to do with a Clojure backend (I do enjoy the…
DrPepper
  • 237
  • 2
  • 6
5
votes
5 answers

How to build/test Scala without IDE dependence?

I'm well into learning Scala now and enjoying it very much; I hope to start future projects in it, rather than Java. What I'm enjoying less is the (relatively) poor IDE support. I've found both IDEA and Eclipse with the Scala Plugin (including…
Pengin
  • 4,692
  • 6
  • 36
  • 62
5
votes
2 answers

buildr create a jar that include libs and other project

I have 2 Java projects (eg p1 and p2) and I want to create jar (using buildr) that contains both projects and their libs. p2 depends on p1. compile.with(projects('p1'), removeDups(project('p1').compile.dependencies),…
telebog
  • 1,706
  • 5
  • 25
  • 34
5
votes
2 answers

How to add local dependencies in buildr

For a java/scala project I have some dependencies that are not in a remote repository, but somewhere else in my filesystem. I have then two options, which lead to questions: I can add a lib/ directory in my project folder. How can I tell buildr to…
paradigmatic
  • 40,153
  • 18
  • 88
  • 147
5
votes
2 answers

Hide HTTP password when downloading maven artifacts

We have a password protected Maven repository. When downloading the http password is shown on the console: Downloading: https://arved:passw0rd@maven.arved.at/content/groups/arved/org/apache/xbean/xbean-naming/3.7/xbean-naming-3.7.jar Is it…
arved
  • 4,401
  • 4
  • 30
  • 53
4
votes
0 answers

Migrate from buildr Buildfile to gradle

I currently have a project with a lot of modules and dependencies using buildr Buildfile. For numerous reasons, we would like to migrate the project to gradle. Is it possible in an easy way? Should we rewrite the Buildfile into a build.gradle…
Filnik
  • 352
  • 1
  • 12
  • 33
4
votes
1 answer

How Do I Configure Buildr to run ScalaTest 2.11?

I'm using Buildr 1.4.20 (with Ruby 2.0.0 on 64-bit Linux) and trying to use ScalaTest with Scala 2.11.2, but I'm getting the following ClassNotFoundException every time I try to run buildr test. Running tests in MyProject ScalaTest…
ATG
  • 1,679
  • 14
  • 25
4
votes
2 answers

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

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…
BefittingTheorem
  • 10,459
  • 15
  • 69
  • 96
1
2 3
9 10