Hi,
> Then there's something very wrong happening because that's not how Buildr is
> supposed to work. Either it's a bug, either it's an issue in your
> buildfile. Obviously I can't reproduce this (on many, many builds I use
> every day) so you'll have to show us how you get into that situation.
Ok - It is almost certainly something I have got wrong with my build
file but somehow I have managed to get it happening in multiple
projects so it could be something about the way I write my build
files. To reproduce it
$ jgem install buildr
$ buildr --version
Buildr 1.3.5 (JRuby 1.4.0RC1)
$ git clone git://github.com/rockninja/jamex.git
$ cd jamex
$ buildr help
(in /home/peter/jamex, development)
Compiling jamex:link into /home/peter/jamex/target/link/classes
Running java aQute.bnd.main.bnd
jamex-link-0.1.1-SNAPSHOT.jar 11 13012
Running java aQute.bnd.main.bnd
Packaging jamex-link-0.1.1-SNAPSHOT.jar
Running java aQute.bnd.main.bnd
jamex-com.sun.messaging.mq.imq-0.1.1-SNAPSHOT.jar 278 507327
Running java aQute.bnd.main.bnd
Packaging jamex-com.sun.messaging.mq.imq-0.1.1-SNAPSHOT.jar
Compiling jamex:connection into /home/peter/jamex/target/connection/classes
Running java aQute.bnd.main.bnd
jamex-connection-0.1.1-SNAPSHOT.jar 5 8289
Running java aQute.bnd.main.bnd
Packaging jamex-connection-0.1.1-SNAPSHOT.jar
Compiling jamex:routes into /home/peter/jamex/target/routes/classes
Running java aQute.bnd.main.bnd
jamex-routes-0.1.1-SNAPSHOT.jar 3 4419
Running java aQute.bnd.main.bnd
Packaging jamex-routes-0.1.1-SNAPSHOT.jar
Usage:
buildr [-f rakefile] {options} targets...
Top-level projects (buildr help:projects for full list):
jamex # An OSGi based JMS router in its infancy
Common tasks:
artifacts # Download all artifacts
artifacts:sources # Download all artifacts' sources
bnd:print # Does `bnd print` on the packaged bundle and
stdouts the output for inspection
build # Build the project
clean # Clean files generated during a build
compile # Compile all projects
default # The default task is build
eclipse # Generate Eclipse artifacts for all projects
help:projects # List all projects defined by this buildfile
help:tasks # List all tasks available from this buildfile
idea # Generate Idea artifacts for all projects
idea7x # Generate Idea 7.x artifacts for all projects
install # Install packages created by the project
javadoc # Create the Javadocs for this project
junit:report # Generate JUnit tests report in reports/junit
package # Create packages
release # Make a release
test # Run all tests
uninstall # Remove previously installed packages
upload # Upload packages created by the project
For help on command line options:
buildr --help
To run a full build without running any tests:
buildr test=no
To run specific test:
buildr test:MyTest
To run integration tests:
buildr integration
Using Java 1.6.0_15, Ant 1.7.1.
--
Cheers,
Peter Donald