This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, i wanted to create a war file for a rails project. I am doing the same like you do on your tutorial http://www.netbeans.org/kb/60/ruby/setting-up.html .The problem is that the rake gets canceled. the error code is ake aborted! Error: failed to create archive, error code 256 rake aborted! named class doesn't start with '{' the funny thing is on serveral machine it does not work at all and on some if you restart the rake over and over again it works (3 people tested it seperately on 5 machines).
Could you please specify the exact versions of the IDE, Rails and JRuby that you are using? One thing to notice is that the plugin used for creating the war file (Goldspike) requires network access, although you would most likely be seeing a different error if that was the problem.
I am using Netbeans 6.0, JRuby 1.0.2 and Rails 1.2.5 Could you please explain why network access is reuired ? I just want to build a war file ... Thank you
Thanks for the info. Network access is required because the Goldspike plugin downloads libraries from the internet when creating a war file. I remember seeing a similar error reported a while back, it was caused by having insufficient permissions. Do you have write access to the files that are being packaged? If not, this is probably a duplicate of issue 126899.
Thank you very much for the answer. I think that explains why it will not work. There is only one last thing. How is it possible to create a war file without network access. We do have network access here but it runs over a proxy and you need an user and a password to get permission to the network/internet. I did not find anything where i can put these information and the war building process is not asking after it. I think it is not very good that you need internet access if you just want to test on a local machine. Do you have suggestions how to solve the problem ? Thank you very much for your help i really appriciate it.
I'm not sure whether it is possible to do it with Goldspike, meaning that don't know how to do it from the IDE currently - the IDE depends on Goldspike for this functionality. However, it should be possible with Warbler - here are a few links to resources on it: Announcement: http://blog.nicksieger.com/articles/2007/09/04/warbler-a-little-birdie-to-introduce-your-rails-app-to-java Wiki: wiki.jruby.org/wiki/Warbler Documentation: http://caldersphere.rubyforge.org/warbler/ A blog entry explaining how to use it with JRuby 1.0.3: http://fuzzypanic.blogspot.com/2008/01/jruby-war-packaging.html I hope this helps. If you have any further questions, you might want to subscribe to users@ruby.netbeans.org (if you're not subscribed already) and ask there. So I'm closing this as a duplicate of issue 126899, if I understood correctly that and network access were the problems you had, is that right? *** This issue has been marked as a duplicate of 126899 ***
Yes that is right. Thank you very much for your support