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 79604 - Don't create new XML, DTD, CSS, XSL, XSD, ... documents in project root folder
Summary: Don't create new XML, DTD, CSS, XSL, XSD, ... documents in project root folder
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 15:02 UTC by Martin Schovanek
Modified: 2016-07-07 08:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-07-03 15:02:28 UTC
[#200607030200, jdk1.5.0]

to reproduce:
-------------
1) right click a Web Project node in the Project view
2) chose "New > XML Document"
3) finish new wizard with default values
ERROR: the XML Document is created in the project root folder and is not visible
in Projects view.

The wizard should use 'src' folder, if any exist. This also applies to the rest
of New Document wizards from XML Module.
Comment 1 Sherold Dev 2006-08-09 16:39:26 UTC
TM -> 5.5
Comment 2 Sherold Dev 2006-08-14 16:49:08 UTC
The reporter agreed on removal of the fix-in-55 status whiteboard.
Comment 3 Sherold Dev 2006-08-14 17:06:11 UTC
This is a problem of all templates, reassigning to openide
Comment 4 Marian Mirilovic 2006-09-20 09:05:14 UTC
We are in HR, so there is no plan to intagrate issues with the P3 and lowest
priority to NB 5.5 codeline. 
If you still want to fix this issue in NB 5.5 add "5.5_candidate" to status
whiteboard. 
Thanks in advance.
Comment 5 Jesse Glick 2006-10-23 17:00:19 UTC
Templates such as XML documents which are not bound to a particular
project-specific technology (e.g. .java, .jsp) can be placed anywhere in the
project. It is up to the user to select the desired folder. Nor is there any
guarantee that all files in the project will appear in the Projects tab; that is
what the Files tab is for.
Comment 6 Martin Schovanek 2006-10-31 10:59:41 UTC
It is OK that user can put file anywhere in the project. But we should offer
better default location when the new wizard is invoked from Projects view, e.g.
the src folder can be good choice (if it exists).
Comment 7 Jesse Glick 2006-10-31 18:35:15 UTC
Not sure what folder to use as a default in general. "src/" only applies to
certain project types.

All TYPE_GENERIC source groups are offered for generic files. Possible strategy:
remember what folder was last used for a file; if such a folder was remembered,
and was inside one of the generic source groups, use that as a default location.
Comment 8 Martin Balin 2016-07-07 08:39:16 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss