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
4
votes
4 answers

Package method having no effect in Buildr

I'm trying to package a scala project into a jar and write properties to the Manifest using Buildrs package() method. The package seems to have no affect on the Manifest. Here's the build file: VERSION_NUMBER = "1.0.0" GROUP = "Green" COPYRIGHT =…
BefittingTheorem
  • 10,459
  • 15
  • 69
  • 96
4
votes
1 answer

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

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…
Learner
  • 2,303
  • 9
  • 46
  • 81
4
votes
3 answers

Buildr complaining about javac: invalid source release: 1.7

I am having an issue with Apache's Buildr complaining about an invalid source release. Whenever I try and build my project I get the following error message; javac: invalid source release: 1.7 Usage: javac use -help for a…
James McMahon
  • 48,506
  • 64
  • 207
  • 283
3
votes
2 answers

buildr - share profiles.yaml file across projects

The profiles file is a YAML file called profiles.yaml that you place in the same directory as the Buildfile I was wondering is it possible to share the same profiles file for more than one project, i.e. specifying a different location to where…
Ross
  • 3,008
  • 1
  • 22
  • 27
3
votes
1 answer

buildr: specify project base dir

I'm new to buildr so apologies if this is trivial. I refactored all my projects so that they now follow the Apache convention (src/main/java etc) but I have one big java project which is divided into three logical sub projects. In other words my…
David Semeria
  • 542
  • 3
  • 15
3
votes
1 answer

Enhancing the Buildr release process

I'd like to tie a custom task into the default buildr release cycle. I'd like to run this code after the project has been compiled, packaged, tagged and deployed but before it increments the version number and commits that. How would I tie into this…
Drew
  • 15,158
  • 17
  • 68
  • 77
3
votes
2 answers

Purpose of Underscore method in Buildr

Can anyone explain the purpose of the "_" (underscore) in the following code? Thanks. package(:zip).include _('target/docs/*')
dakin
  • 79
  • 1
  • 4
3
votes
2 answers

how to alias a task in buildr

I might be doing something wrong, cuz I'm using buildr for not so long, so all comments are welcome. My project structure is: define :proj do define :web do task :run do # runs the web part of the project in a jetty …
atamur
  • 1,567
  • 1
  • 14
  • 25
3
votes
2 answers

Choosing a scripting/build tool

We are currently working on a project with both actionscript and Java. Up to now, we were using Ant as our main build tool, but the dumb amount of duplication it implies and the lack of flexibility (we are building a pretty large amount of small…
Axelle Ziegler
  • 2,505
  • 17
  • 19
3
votes
6 answers

Build system that allows sharing modules amongst different binaries

I'm trying to choose the most appropriate build system to work in enterprise with a common source repository, emphasizing sharing of common code. I'd like the source hierarchy to look something like this: - src - java - common -…
Bill
  • 1,244
  • 8
  • 7
3
votes
1 answer

Buildr - compile project with another project's created jar

I have the following definition: define "BE" do project.version = VERSION_NUMBER project.group = GROUP manifest['Copyright'] = COPYRIGHT desc 'Building common project for engine and API' define 'common' do compile.with…
Dejell
  • 13,947
  • 40
  • 146
  • 229
2
votes
1 answer

How can I instruct buildr to download all javadocs?

When running buildr eclipse builder generates (among others) following entry in .classpath:
koppor
  • 19,079
  • 15
  • 119
  • 161
2
votes
1 answer

why Buildr fails?

I've got this in my pom.xml:
Oleg Mikheev
  • 17,186
  • 14
  • 73
  • 95
2
votes
1 answer

buildr antwrap OutOfMemoryError PermGen space

# I am using Buildr as my build tool. Part of my build process generates Java source from a WSDL using JAX-WS. I have an ANT build script that does this with the wsimport ant task. Using the AntWrap Ruby module in Buildr I can do the same thing. My…
Ross
  • 3,008
  • 1
  • 22
  • 27
2
votes
1 answer

How to run java application built with buildr and using dependencies?

I have successfully created a buildfile which builds my application. There is a dependency, which is automatically downloaded to ~/.m2/repository/ and provided at compile time. I can now easily build the application. The question is: how do I easily…
Hristo Hristov
  • 4,021
  • 4
  • 25
  • 37
1
2
3
9 10