Bugs item #16738, was opened at 2007-12-31 14:57
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=16738&group_id=2014

Category: rails-integration
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Kaj Hejer (kajh)
Assigned to: Robert Egglestone (tantalon)
>Summary: "private method `makedirs' called for File:Class" when running "rake 
>war:standalone:create"

Initial Comment:
$ rake --version
rake, version 0.8.1

$ jruby --version
ruby 1.8.5 (2007-12-15 rev 5200) [i386-jruby1.0.3]

I installed goldspike from trunk:

script/plugin install  
http://jruby-extras.rubyforge.org/svn/trunk/rails-integration/plugins/goldspike

I'm on osx 10.5.1.


$ rake --trace war:standalone:create(in /Users/kajh/src/medark)
** Invoke war:standalone:create (first_time)
** Invoke war:init (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute war:init
** Execute war:standalone:create
info: Assembling web application
info: Packing needed Java libraries ...
rake aborted!
private method `makedirs' called for File:Class
/Users/kajh/src/medark/vendor/plugins/goldspike/lib/packer.rb:108:in 
`add_java_libraries'
/Users/kajh/src/medark/vendor/plugins/goldspike/lib/create_war.rb:72:in 
`add_java_libraries'
/Users/kajh/src/medark/vendor/plugins/goldspike/lib/create_war.rb:52:in 
`assemble'
/Users/kajh/src/medark/vendor/plugins/goldspike/lib/create_war.rb:46:in 
`create_war_file'
/Users/kajh/src/medark/vendor/plugins/goldspike/tasks/war.rake:24
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/tasks/rails.rb:8:in
 `call'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in
 `execute'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
 `each'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in
 `execute'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in
 `invoke_with_call_chain'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in
 `synchronize'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in
 `invoke_with_call_chain'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in
 `invoke'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in
 `invoke_task'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
 `top_level'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
 `each'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in
 `top_level'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
 `standard_exception_handling'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in
 `top_level'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in
 `run'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31:in 
`standard_exception_handling'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in
 `run'
/Users/kajh/bin/jruby-1.0.3/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
:1:in `load'
:1



----------------------------------------------------------------------

>Comment By: Nick Sieger (nicksieger)
Date: 2008-01-02 16:11

Message:
Fixed in r862 of the goldspike plugin

----------------------------------------------------------------------

Comment By: Stephen Bannasch (stepheneb)
Date: 2008-01-02 10:13

Message:
I also have this problem on MacOS 10.4.11, Java 1.5.0_13, and JRuby trunk r5456.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=7857&aid=16738&group_id=2014
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to