ok, that gives me

C:\Temps\Attestation\odeX>buildr --version
Buildr aborted!
RuntimeError : Internal error: attempting to access local setting before buildfile located
(See full trace by running task with --trace)

which doesn't help very much, giving

C:\Temps\Attestation\odeX>buildr --trace --version
Buildr aborted!
RuntimeError : Internal error: attempting to access local setting before buildfile located C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:101:in `load_from' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:81:in `build' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:357:in `standard_buildr_o
ptions'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1267:in `call'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1267:in `parse_in_order'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1254:in `catch'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1248:in `order!'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1339:in `permute!'
C:/Me/Apps/jruby-1.4.0/lib/ruby/1.8/optparse.rb:1360:in `parse!'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:254:in `handle_options' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2009:in `init' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2007:in `init' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:136:in `run' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:135:in `run'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19:in `load'
C:\Me\Apps\jruby-1.4.0\bin\buildr:19

I.e., application.rb:357:in `standard_buildr_options' seems borken? .when trying do build ODE instead, not reaching application.rb:build, something different comes out, that might be related to the fact thyt i am using source pulled from git.:

C:\Temps\Attestation\odeX>buildr --trace package test=no
(in C:/Temps/Attestation/odeX, development)
Buildr aborted!
NoMethodError : undefined method `tag_name=' for #<Buildr::GitRelease:0xe51bda>
C:/Temps/Attestation/odeX/Rakefile:43
C:/Temps/Attestation/odeX/Rakefile:398:in `load'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:398:in `raw_load_buildfil
e'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:218:in `load_buildfile' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:213:in `load_buildfile' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:137:in `run' C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:502:in `standard_exceptio
n_handling'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/lib/buildr/core/application.rb:135:in `run'
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19
C:/Me/Apps/jruby-1.4.0/lib/ruby/gems/1.8/gems/buildr-1.4.0-java/bin/buildr:19:in `load'
C:\Me\Apps\jruby-1.4.0\bin\buildr:19

if you got any instant ideas, shoot, I will look at that second trace no earlier than tomorrow

jan


On 4/8/2010 8:06 PM, Antoine Toulme wrote:
Oh, you're using jruby. Then this is the right gem:
buildr-1.4.0-java.gem<http://people.apache.org/~toulmean/buildr/1.4.0/dist/buildr-1.4.0-java.gem>

On Thu, Apr 8, 2010 at 10:11, Jan Sinschek<[email protected]>  wrote:

On 4/8/2010 5:13 PM, Antoine Toulme wrote:

The gem is under the dist folder:
buildr-1.4.0.gem<
http://people.apache.org/~toulmean/buildr/1.4.0/dist/buildr-1.4.0.gem>



doesn't fly with windows right now: (viz. gem install buildr-1.4.0.gem does
not, which is hopefully the right thing to do)
yields:

Building native extensions.  This could take a while...
WARNING: JRuby does not support native extensions or the `mkmf' library.
         Check wiki.jruby.org for alternatives.
extconf.rb:20:in `include': undefined method `+' for nil:NilClass
(NoMethodError)
        from extconf.rb:38
ERROR:  Error installing buildr-1.4.0.gem:
        ERROR: Failed to build gem native extension.

I checked with the wiki, but native extensions do not figure very
prominently there. There is for use with jruby

jruby.native.enabled=true|false
but I failed getting gem to take that argument, being a ruby noob




Reply via email to