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.

Bug 104068 - Cannot rename running Rails application
Summary: Cannot rename running Rails application
Status: VERIFIED WONTFIX
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 14:39 UTC by Jiri Skrivanek
Modified: 2011-12-12 13:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace. (3.04 KB, text/plain)
2007-05-16 14:40 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2007-05-16 14:39:43 UTC
It is not possible to rename Rails application when WEBrick server is running.
To reproduce:

- create new Ruby On Rails Application
- call 'Rename Project' on project node
- change name in Rename Project dialog 
- check 'Also Rename Project Folder' checkbox
- click Rename

Project is not renamed but exception is thrown

Cannot delete file development.log in 
D:/Development/builds/nbUserdir-20070516145644/RailsApplication6/log.

Build 20070515, WindowsXP, JDK1.6.0_02-ea.
Comment 1 Jiri Skrivanek 2007-05-16 14:40:16 UTC
Created attachment 42463 [details]
Stack trace.
Comment 2 Jiri Kovalsky 2007-07-03 14:01:40 UTC
Reassigning this issue to newly created 'ruby' component.
Comment 3 Jiri Skrivanek 2007-08-07 14:45:51 UTC
Cannot reproduce anymore in build 200708060257.
Comment 4 Jiri Skrivanek 2007-08-07 14:46:19 UTC
Verified.
Comment 5 Jiri Skrivanek 2007-08-07 14:50:05 UTC
Previously I forgot to check 'Also Rename Project Folder' checkbox, so it is still reproducable.
Comment 6 josin 2008-09-08 14:56:15 UTC
Works fine with|without Also rename project folder.

Product Version: NetBeans IDE Dev (Build 200809071401)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 7 josin 2008-09-08 14:56:36 UTC
Verified.
Comment 8 josin 2008-09-09 09:08:08 UTC
There is missing item in steps to reproduce. WEBrick server must be running - so it is still reproducible in current build.

Steps to reproduce:
1. Create new RoR Application -> Run the project
2. Invoke pop-up menu on project node > Rename
3. Insert new project name, "Also Rename Project Folder" must be checked > Rename

Product Version: NetBeans IDE Dev (Build 200809081401)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Comment 9 Erno Mononen 2008-11-20 18:33:35 UTC
Will address this later (will reconsider if there'll be duplicates).
Comment 10 Quality Engineering 2009-11-02 11:13:27 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX