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.
[Build 20050126] In dbschema wizard on panel Name and location user can specify where the schema will be created. In Browse Folders panel are listed test, nbproject and src directories. User shouldn't create dbschema in nbproject directory. Please, disable this directory.
My comments: i) Is there really need to limit user when he selects directory? -- In my opinion it is up to user to select proper directory. ii) As far as I know there is no way how to disable this directory in dbschema wizard. The 'Name and location' panel comes from openide, you can see the same panel when you creating new java file etc. I do not see how to handle this Closing as WONTFIX. Please reopen, if you disagree with my previous comments.
I disagree. My comments are below: 1) If user creates dbschema in nbproject directory, then creates Entity bean from dbschema the wizard doesn't display dbschema in combo box 2) On java file wizard panel user can't select directory nbproject, he is able to select location from combo box. The combo box contains only Source packages and Test packages 3) I hope that IDE should suggest to user that nbproject directory is not good choice for dbschema. User should not add any sources in nbproject directory.
You are right with 'New Java File', these files are created in packages. But for example XML file can be created everywhere in project. Should only src root directory be enabled for dbschema?
From user's point of view, YES.
If we want to fix this issue, we have to redesign the TargetPanel. Currently, we use org.netbeans.modules.project.uiSimpleTargetChooserPanel which does not support such a functionality. The panel has to be designed by db module itself. This seems to be big change and there is not enough time to fix it for 4.1. Changing target milestone to 'future'. The same change is needed for fixing issue #52465.
Since creating db schema by hand is not the typical scenario, I think this is not high priority. I suggest downgrading to P4.
Downgrading to P4.
because netbeans can recognize dbschema files only when are placed under configuration and source directory so only these directories can be considered as destination directories for dbschema files.
Reassigned to new owner.