You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Adam <ad...@gmail.com> on 2013/02/23 13:35:46 UTC
Problems getting ODE to build
Hello,
I'm new to buildr, but am trying to get ODE to build.
I've installed JRuby and installed buildr per the instructions, but when
I try to build I get this:
C:\projects\ode>buildr --trace package test=no
Buildr aborted!
SyntaxError : C:/projects/ode/tasks/jbi.rake:79: formal argument cannot
be an instance variable
Tempfile.open("MANIFEST.MF") { |@jbi_xml_tmp| @jbi_xml_tmp.write
descriptor }
^
org/jruby/RubyKernel.java:1046:in `load'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:1:in
`(root)'
org/jruby/RubyArray.java:1613:in `each'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:497:
in `load_tasks'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:494:
in `load_tasks'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:223:
in `load_buildfile'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
in `standard_exception_handling'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:219:
in `load_buildfile'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:129:
in `run'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
in `standard_exception_handling'
c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:127:
in `run'
org/jruby/RubyKernel.java:1046:in `load'
c:\Java\jruby-1.7.3\bin\buildr:23:in `(root)'
any help would be appreciated.
thanks,
Adam
Re: Problems getting ODE to build
Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,
I've changed that part, so it should now work with current versions of ruby
and jruby as well.
HTH,
Tammo
On Sun, Feb 24, 2013 at 6:19 PM, Sathwik B P <sa...@gmail.com> wrote:
> try with jruby 1.6.8
>
> On Sat, Feb 23, 2013 at 6:05 PM, Adam <ad...@gmail.com> wrote:
>
> > Hello,
> > I'm new to buildr, but am trying to get ODE to build.
> > I've installed JRuby and installed buildr per the instructions, but when
> > I try to build I get this:
> >
> > C:\projects\ode>buildr --trace package test=no
> > Buildr aborted!
> > SyntaxError : C:/projects/ode/tasks/jbi.rake:79: formal argument cannot
> > be an instance variable
> > Tempfile.open("MANIFEST.MF") { |@jbi_xml_tmp| @jbi_xml_tmp.write
> > descriptor }
> > ^
> > org/jruby/RubyKernel.java:1046:in `load'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:1:in
> > `(root)'
> > org/jruby/RubyArray.java:1613:in `each'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:497:
> > in `load_tasks'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:494:
> > in `load_tasks'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:223:
> > in `load_buildfile'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
> > in `standard_exception_handling'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:219:
> > in `load_buildfile'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:129:
> > in `run'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
> > in `standard_exception_handling'
> >
> >
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:127:
> > in `run'
> > org/jruby/RubyKernel.java:1046:in `load'
> > c:\Java\jruby-1.7.3\bin\buildr:23:in `(root)'
> >
> > any help would be appreciated.
> > thanks,
> > Adam
> >
>
--
Tammo van Lessen - http://www.taval.de
Re: Problems getting ODE to build
Posted by Sathwik B P <sa...@gmail.com>.
try with jruby 1.6.8
On Sat, Feb 23, 2013 at 6:05 PM, Adam <ad...@gmail.com> wrote:
> Hello,
> I'm new to buildr, but am trying to get ODE to build.
> I've installed JRuby and installed buildr per the instructions, but when
> I try to build I get this:
>
> C:\projects\ode>buildr --trace package test=no
> Buildr aborted!
> SyntaxError : C:/projects/ode/tasks/jbi.rake:79: formal argument cannot
> be an instance variable
> Tempfile.open("MANIFEST.MF") { |@jbi_xml_tmp| @jbi_xml_tmp.write
> descriptor }
> ^
> org/jruby/RubyKernel.java:1046:in `load'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:1:in
> `(root)'
> org/jruby/RubyArray.java:1613:in `each'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:497:
> in `load_tasks'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:494:
> in `load_tasks'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:223:
> in `load_buildfile'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
> in `standard_exception_handling'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:219:
> in `load_buildfile'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:129:
> in `run'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:535:
> in `standard_exception_handling'
>
> c:/Java/jruby-1.7.3/lib/ruby/gems/shared/gems/buildr-1.4.10-java/lib/buildr/core/application.rb:127:
> in `run'
> org/jruby/RubyKernel.java:1046:in `load'
> c:\Java\jruby-1.7.3\bin\buildr:23:in `(root)'
>
> any help would be appreciated.
> thanks,
> Adam
>