Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
require 'buildr/antlr' repositories.remote << "http://repo1.maven.org/maven2" repositories.remote << "http://www.ibiblio.org/maven" repositories.remote << "http://repository.jboss.org/maven2" define 'bluffparse' do project.version = '0.0.1' define 'core' do project.version = '0.0.1' antlr = antlr([_("src/main/antlr3/com/bluffware/grammars/*.g")], :in_package => "com.bluffware.grammars") compile.from(antlr).with ['org.antlr:antlr-runtime:jar:3.1.3'] package :jar end define 'other' do project.version = '0.0.1' compile.with 'org.antlr:antlr-runtime:jar:3.1.3', 'junit:junit:jar:4.7', 'net.java.dev.jets3t:jets3t:jar:0.7.2', 'com.rabbitmq:amqp-client:jar:1.6.0', 'commons-codec:commons-codec:jar:1.3', 'mysql:mysql-connector-java:jar:5.1.1', project('core') package :jar end end Buildr aborted! can't convert Rake::FileTask into String /home/feydr/bb/buildfile:16 /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:400:in `raw_load_buildfile' /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:218:in `load_buildfile' /usr/lib/ruby/gems/1.8/gems/buildr-1.3.5/lib/buildr/core/application.rb:213:in `load_buildfile' (See full trace by running task with --trace) # http://code.google.com/p/noop/source/browse/buildfile
This paste will be private.
From the Design Piracy series on my blog: