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 122111 - User should be able to set up the source root in new project wizard
Summary: User should be able to set up the source root in new project wizard
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrew Korostelev
URL:
Keywords:
Depends on:
Blocks: 125927
  Show dependency tree
 
Reported: 2007-11-16 11:02 UTC by Petr Pisl
Modified: 2008-04-07 14:07 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 Petr Pisl 2007-11-16 11:02:17 UTC
When I create a new php project, I can not set up the source folder for the php file. But when the project is created, I
can change the source folder. There should be the ability to say where is my source root in the project wizard. If there
is not any other difference between the two php projects, then it can be there only one project wizard. See issue #122110.
Comment 1 Andrew Korostelev 2007-11-16 15:11:34 UTC
Sorry, if have understood you incorrectly.

there are two project types in project creation wizard.
one of them is 'PHP Project'. 
It doesn't allow to set src dir during creation. 
The positive result is: It has fewer steps.
It is for those who wants to press several buttons and get a result (based on our target user roles).

If user has existing sources and wants to set own src root - there is 'PHP Project with existing sources'.
Comment 2 Petr Pisl 2007-11-19 08:54:43 UTC
The ability to set up the source root doesn't influence the number of steps in new project wizard. Your comment is not
valid in this way. 

Basically I create a new project (I don't have a sources). Almost every php developer has the sources directly map to a
folder in the server document root. So I have to go to the project properties and change the source root -> I lost the
index.php. 

Again your comment is not valid, because the user doesn't have to change a default value of the source root. 
Comment 3 Andrew Korostelev 2007-11-19 10:39:18 UTC
I understand now.

our point was that basic project can be created with default project root. 
Therefore there were only 2 steps (project, server).

For those who has existing sources there is additional wizard with 3 steps (project, sources, server).

If 99% of users will expect source root selection step in basic wizard, we should add it there.

Let's do this after 6.0.
Will it work?
Comment 4 Petr Pisl 2007-11-19 11:01:00 UTC
Yes, it will work. Thanks.

I would put the source root configuration into the Name and Location panel in new Project wizard. 
Comment 5 Andrew Korostelev 2007-11-20 17:32:53 UTC
as we have decided, set target milestone to future
Comment 6 Andrew Korostelev 2008-01-28 13:19:39 UTC
will be implemented in 6.1M2
Comment 7 Tomas Mysik 2008-04-07 14:07:04 UTC
Already done.