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.
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.
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.
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).
#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)
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: http://projects.netbeans.org/nonav/buildsys/j2se-project-ui- spec.html#Step_2_New_Java_Project_with *** This issue has been marked as a duplicate of 44926 ***
Reorganization of java component