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 121295 - It should be possible to associate a logical folder with a directory
Summary: It should be possible to associate a logical folder with a directory
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
: 88338 147326 155288 (view as bug list)
Depends on:
Blocks: 136398 144975
  Show dependency tree
 
Reported: 2007-11-06 14:46 UTC by Vladimir Kvashin
Modified: 2009-02-22 07:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2007-11-06 14:47:04 UTC
From a customer's letter (Kobus@softsim.co.za):

> I want to organise my project with the source code separated from the rest of the files 
> such as in a "src" directory as is common practice.
 
> But I can't associate a directory with a logical folder, which means every time a create a source file, 
> I have to specify the folder as say src. And guess what, I will forget at least 10% of the time, 
> which leads to source files lying around in the wrong place. 
> If it was possible to associate a directory with a logical folder, 
> I could associate the logical folder "Source Files" with "src".

While trying to use CND for development, I faced the same problem.
And I guess this is especially inconvenient for makefile-based projects, 
which often reside outside of netbeans project directory.
Comment 1 Thomas Preisler 2008-08-18 18:14:02 UTC
See also http://cnd.netbeans.org/issues/show_bug.cgi?id=132076
Comment 2 Thomas Preisler 2008-09-16 02:57:22 UTC
See also http://www.netbeans.org/issues/show_bug.cgi?id=147326
Comment 3 Alexey Vladykin 2008-10-30 15:12:19 UTC
When this feature is implemented, Projects view should respect Ignored File Pattern from NetBeans options. See issue 144975.
Comment 4 Thomas Preisler 2008-10-31 23:03:20 UTC
See also http://www.netbeans.org/issues/show_bug.cgi?id=151688
Comment 5 Vladimir Kvashin 2008-10-31 23:41:12 UTC
I'd like us to have a clear understanding of how this issue is going to be implemented.

The question concerns the situation when a file is added externally (via VCS, copying in console, etc) to a directory
that corresponds to a logical folder. Should this file be automatically added to the project or not? It seems that some
other issues referred here imply that it should.

I'd like to note that this IZ was initially about unidirectional correspondence: logical folder -> physical directory;
so if a file is being created (in IDE) in the logical folder, it's physically placed into the correspondent directory;
but not vice versa.
Comment 6 Thomas Preisler 2008-11-17 21:10:11 UTC
*** Issue 147326 has been marked as a duplicate of this issue. ***
Comment 7 Thomas Preisler 2008-11-17 23:13:41 UTC
*** Issue 88338 has been marked as a duplicate of this issue. ***
Comment 8 Thomas Preisler 2008-12-19 07:19:06 UTC
*** Issue 155288 has been marked as a duplicate of this issue. ***
Comment 9 Thomas Preisler 2009-01-27 04:57:51 UTC
See alos http://www.netbeans.org/issues/show_bug.cgi?id=128430
Comment 10 Quality Engineering 2009-02-03 20:50:58 UTC
Integrated into 'main-golden', will be available in build *200902031446* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ca472eba55cf
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 11 Quality Engineering 2009-02-04 21:20:49 UTC
Integrated into 'main-golden', will be available in build *200902041526* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/522ab3bb4a81
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 12 Quality Engineering 2009-02-06 07:51:40 UTC
Integrated into 'main-golden', will be available in build *200902060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/631e270a788e
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 13 Quality Engineering 2009-02-07 08:38:46 UTC
Integrated into 'main-golden', will be available in build *200902070301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f6df7567ca87
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 14 Quality Engineering 2009-02-07 19:29:45 UTC
Integrated into 'main-golden', will be available in build *200902071410* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/be2d5fd48b56
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 15 Quality Engineering 2009-02-09 20:31:21 UTC
Integrated into 'main-golden', will be available in build *200902091451* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/cf4a6492b170
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 16 Thomas Preisler 2009-02-13 17:17:52 UTC
Fixed. Unmanaged projects are now using true source roots (managed from the project's properties) in the Project View. There are still some remaining issue 
especially with copy/paste and drag&drop and folder/file properties but I will try and resolve these today and file separate issues for remaining issues.
Comment 17 Quality Engineering 2009-02-18 10:14:36 UTC
Integrated into 'main-golden', will be available in build *200902180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a315c3ff7da6
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a  directory
Comment 18 Quality Engineering 2009-02-22 07:54:25 UTC
Integrated into 'main-golden', will be available in build *200902220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7141cfff5c04
User: Thomas Preisler <thp@netbeans.org>
Log: #121295 It should be possible to associate a logical folder with a directory