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.
After the following change: #2982 (Jul 13, 2007 10:25:10 PM) 1. Ruby: 109672: Use Migration Names in Migrate Database Menu Also build up nested menus as necessary when the number of migrations is large (20 items or more). — tor / detail My 'Migrate Database' menu doesn't show my migrations anymore. It only shows 'To current version' and nothing else. My project has 30 migrations at the moment. I run NRUBYIDE.
Sorry about that -- I did test this for several different project profiles. Can you show me what your directory structure related to your migrations looks like? e.g. $ cd {yourproject} $ find app/db -type f -print
Thanks for the file list. I've added a unit test which replicates your directory structure and it produces a correct menu layout for me. So, I'll try to add some logging which you can run with and hopefully that will reproduce the problem. More info soon.
I've sprinkled some logging over the relevant class which should hopefully give me some insight into why it's not working in your environment. Would you mind grabbing build #2993 or later (when the build finishes) from http://deadlock.netbeans.org/hudson/job/ruby/ and then invoking it with this startup flag: -J-Dorg.netbeans.modules.ruby.railsprojects.MigrateAction.level=300 (e.g. bin/nbrubyide --J-Dorg...) That should print a bunch of console information (if it doesn't, it's in the log file in your userdir under var/log/) where each line starts with: FINE [org.netbeans.modules.ruby.railsprojects.MigrateAction]: If you can send me that output I will hopefully be able to see what the problem might be.
Great, the diagnostics pinpointed the problem - a resource file had been missing from the checkin. It's fixed in build #3010 (and later). http://deadlock.netbeans.org/hudson/job/ruby/3010/ Checking in Bundle.properties; /cvs/ruby/railsprojects/src/org/netbeans/modules/ruby/railsprojects/Bundle.properties,v <-- Bundle.properties new revision: 1.3; previous revision: 1.2 done