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.
Summary: | goldspike : web.xml is not created in default setting | ||
---|---|---|---|
Product: | ruby | Reporter: | Masaki Katakai <masaki> |
Component: | Rails | Assignee: | Erno Mononen <emononen> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Masaki Katakai
2008-02-05 05:29:40 UTC
Probably a problem with the version of goldspike we bundle (1.3), possibly in combination with the used JRuby and Rails version. Need to update it to the newest version that adds support for Rails 2.0 and JRUby 1.1. *** Issue 123606 has been marked as a duplicate of this issue. *** Turns out that this is not just a matter of upgrading the bundled Goldspike; reinstalling or just installing if the project was initially created without support for war deployment is the key to make this work. I'm not that familiar with how Rails plugins are handled, but apparently the code in goldspike_generator.rb that seems to create web.xml doesn't get invoked when the plugin is just unzipped (as is the case for the bundled goldspike plugin) instead of installed via the installation script. Need to investigate more. *** Issue 123900 has been marked as a duplicate of this issue. *** Fixed by changeset 7386a78577f5. The problem was that the plugin installation hook creates the template for web.xml and another file, but since we just unzip the goldspike plugin in the IDE these files didn't get created. So I added the missing files to the bundled goldspike zip, should work now. |