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 44449 - No easy way to find the original directory for an imported project's sources
Summary: No easy way to find the original directory for an imported project's sources
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: jrojcek
Keywords: UI
: 53762 (view as bug list)
Depends on: 46354
Blocks: 41537
  Show dependency tree
Reported: 2004-06-07 15:59 UTC by Sreenivasa Viswanadha
Modified: 2005-10-13 17:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Sreenivasa Viswanadha 2004-06-07 15:59:48 UTC
I created a J2SE project from existing sources a
couple of days ago. Now, I forgot which directory
I created the project from. But I couldn't find it
easily (at all?)from the IDE. The 'properties' tab
for the project doesn't show this info. Even in
the 'Files' tab, there was only one entry that
read 'proejct name - src'. And the property on
that node is even more confusing. It has a 'Name'
field whose 'tip' at the bottom of the properties
window says 'Name of the Object'! not very useful.

Anyway, I think the actualy directory/folder for
the project sources should be easily accessible, IMO. 

I am using a dev build from June 6, 2004.
Comment 1 Jesse Glick 2004-06-07 18:11:16 UTC
Assigning to Jano for comment. Though I am not sure what the issue is
- the tooltips in the Files tab indicate the full path. Maybe this
needs to be made more discoverable somehow.
Comment 2 Sreenivasa Viswanadha 2004-06-07 18:24:05 UTC
Yes. Most IDEs show source path as a project property. That is what I
am asking for.

Also, there was another comment about tooltips/tips explaining the
property are not obvious. Things like 'Name of the Object' for a
property called 'name' is not very useful.
Comment 3 Jesse Glick 2004-06-07 18:34:18 UTC
Re. "Name of the Object" - no, that's not very helpful. Anyway the
property sheet is not going to give you much useful information any
more; we do not show it by default, either. The project customizer
dialog is where everything of interest lives.
Comment 4 jrojcek 2004-06-17 14:39:03 UTC
Agreed. The project properties should show all the relevant paths.
Comment 5 Jesse Glick 2004-08-23 22:59:46 UTC
May be dupe of issue #46094.
Comment 6 Jesse Glick 2004-09-28 15:42:19 UTC
Probably any reasonable GUI for issue #46354 (multiple source roots)
would solve this issue automatically.
Comment 7 Jesse Glick 2005-01-20 16:49:26 UTC
*** Issue 53762 has been marked as a duplicate of this issue. ***
Comment 8 Jesse Glick 2005-01-20 16:49:55 UTC
Should consider this.
Comment 9 Jesse Glick 2005-04-23 16:25:08 UTC
Related feedback: when making a j2seproject from existing sources, using an
external source root, it would be desirable to be able to retain the parent dir
of the external source root (e.g. $dir for source root $dir/src) as a "generic"
source folder for the project, so that it would appear at least in the Files
tab. Would require a little bit of extra metadata in project.xml and to remember that $dir is a generic source folder, and a
trivial patch to the Sources impl to register it. More cumbersome is finding a
way in the UI to ask whether this should be done, since it is not automatically
true that the user wants this; $dir/src might be all there is (and $dir/src2
might belong to some other project). Furthermore, the UI to adjust this would
have to be not only in the New Project wizard, but also in the project
properties dialog, in case the user is starting with an empty project and adding
an external source root later. 
Comment 10 jrojcek 2005-10-13 17:29:41 UTC
I think this was fixed by multiple source roots in NetBeans 4.2. Source root paths now appear in the 
project properties dialog.