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 125240 - can't add project directory as source directory in project wizard, is allowed later
Summary: can't add project directory as source directory in project wizard, is allowed...
Status: NEW
Alias: None
Product: ruby
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@ruby
URL:
Keywords:
: 125256 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-14 21:04 UTC by nocturnalone
Modified: 2011-01-28 20:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nocturnalone 2008-01-14 21:04:31 UTC
Hi,

here are the steps:

- create a new Ruby project based on existing sources
- choose the directory where the sources reside as the project directory
- try to add the same directory again as the source directory, this won't be allowed
- close dialog, project is created
- observe there are no files in the project
- select project properties
- add the same directory again, this time it is allowed
- project appears to function OK 

I think the correct/intuitive behavior would be to automatically add all source files in the project directory to the
project. This is different than the current behavior but I found the current behavior confusing.

Thanks for a great IDE!
Comment 1 Milan Kubec 2008-01-15 09:37:39 UTC
Reassigning for evaluation. Thanks.
Comment 2 Martin Krauskopf 2008-01-15 09:48:26 UTC
*** Issue 125256 has been marked as a duplicate of this issue. ***
Comment 3 Martin Krauskopf 2008-01-15 09:51:01 UTC
Thanks for filing. Probably not into 6.1, since there are easy workarounds as we talked on dev@ruby.netbeans.
Comment 4 Erno Mononen 2009-10-07 14:01:46 UTC
Still valid, but I'm adjusting the priority due to workarounds.