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 44355 - Project creation from existing sources - issues/comments
Summary: Project creation from existing sources - issues/comments
Status: RESOLVED DUPLICATE of bug 44926
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: jrojcek
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-06-04 16:48 UTC by Sreenivasa Viswanadha
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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-04 16:48:48 UTC
Observation while trying to create a new project
from existing sources:

1. There are 3 entries in the wizard - Project
Location, Project Folder and Project Name. The
distinction between these is unclear. The
relationship between project location and project
folder not obvious.

2. Why is the project folder location even shown
when I cannot edit it?

3. If I type-in some location in the  'source
packages folder' filed and hit browse, the dialog
should start out in the folder that I just typed.
On Linux, it is always starting out in the home dir.

4. The default location for project always starts
out in my home directory. May be it should start
out in the same directory as my sources?

5. Point 4 is especially important if we expect
the project file(s) to be checked into VCS and shared.
Comment 1 Jesse Glick 2004-06-04 18:06:29 UTC
In the future, please file one issue for each individual problem. It
is very hard to track a list of unrelated or partially related items.

First, which project template are you talking about exactly? (There
are three such templates currently: Java project from existing
sources, Web project from existing sources, and Java project from
existing sources and existing build script.) In which development build #?

Quick comments (Jano can say more):

Re. #1 - probably the wizard wording should be made clearer, perhaps
with explanatory text (if anyone would read it).

Re. #2 - Huh? Certainly you should be able to edit it.

Re. #3 - reasonable.

Re. #4/5 - depends on what you mean by "the same directory".
Definitely the project folder is a candidate for VCS; even if you do
put it in VCS, however, it is not always the case that you want it in
the *same* VCS (or section of VCS) as the original sources. E.g.
people who are the only NB users in a team of developers may not want
to clutter the master source tree with the NB metadata. May be
possible to set the default to be close to the location of the main
source tree.
Comment 2 Sreenivasa Viswanadha 2004-06-04 19:05:52 UTC
I was trying to create a simple Java project from existing sources. 

Re. #1: If there is anything in the UI that requires explanatory text,
IMO, that concept is unclear.

Re. #2: It was certainly greyed out in today's trunk build on linux.
So I cannot edit it. To me, it looks like a derived field so I just
thought it my not be worth showing. I am not sure it is good to make
it editable either because < 5% of the users will actually edit it.
BTW, it is greyed out even for creating a new NB project.

Re. #4/#5: I am all for giving the user the choice of where to have
these files. I just think (at least for the 'create from existing
sources' case) the default should be either the source directory, or
may be the parent of the source directory (which is the case for
projects created from NB).
Comment 3 Petr Hrebejk 2004-06-17 10:48:00 UTC
#1 Jano should decide
#2 No you should not. This is as designed (Same as in J2SE app)
#3 does already
#4 Would probably mean that we should change the project location when
   users changes the source folder (test folder?). 

Jan please look at it. And probably close it. As worksforme or
something. (If you want to implement #4 please reassign to Tomas)
Comment 4 jrojcek 2004-07-16 17:06:18 UTC
We decided that we allow the user to select an existing folder for project folder in this 
wizard. But, we will still provide the default location in user home. The reason is that the 
existing project folder have to satisfy special conditions.

More details in the spec:

*** This issue has been marked as a duplicate of 44926 ***
Comment 5 Quality Engineering 2007-09-20 09:51:06 UTC
Reorganization of java component