Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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