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 51978 - Permit creation of files from template outside projects if they use no project-specific wizard iterator
Summary: Permit creation of files from template outside projects if they use no projec...
Status: RESOLVED DUPLICATE of bug 186943
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords: API, UI
: 43871 51824 132023 166875 181244 (view as bug list)
Depends on:
Blocks: 214254
  Show dependency tree
 
Reported: 2004-12-01 16:05 UTC by Tim Lebedkov
Modified: 2013-01-22 09:28 UTC (History)
6 users (show)

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 Tim Lebedkov 2004-12-01 16:05:05 UTC
Use case: 
I wanted to add a stylesheet for our website but
the local menu in the filesystems view only
contains "New/Empty file" and "New/Folder" entries
=> There is no way to work with a "web site
project" without creating a NB project.
Comment 1 Jesse Glick 2004-12-01 16:29:30 UTC
You can just use New -> Empty File in the Favorites tab and give it a
name like "foo.css" and syntax coloring etc. will work.

However it would be more pleasant to able to use the existing template
for a CSS stylesheet. Currently all templates are disabled for
non-project-owned target folders, since many templates do have wizard
steps which require a project, and we did not have time to implement
some API for templates to signal that they do not require a project,
but it should be possible.

See also issue #49029 - ability to create an empty freeform project.
Technically it is possible already but very awkward - make a dir if
necessary, make an empty but well-formed build.xml in it, make a new
freeform project there, choose no source dirs, then when the project
is made, delete the build.xml and delete the unused portions of
project.xml.
Comment 2 Jesse Glick 2004-12-02 17:34:09 UTC
*** Issue 51824 has been marked as a duplicate of this issue. ***
Comment 3 Milos Kleint 2008-10-14 13:17:15 UTC
*** Issue 43871 has been marked as a duplicate of this issue. ***
Comment 4 Jesse Glick 2010-03-01 09:18:20 UTC
*** Bug 181244 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2010-03-01 09:18:37 UTC
*** Bug 166875 has been marked as a duplicate of this bug. ***
Comment 6 Jesse Glick 2010-03-01 09:18:56 UTC
*** Bug 132023 has been marked as a duplicate of this bug. ***
Comment 7 Jesse Glick 2010-03-01 09:20:29 UTC
Would not be very difficult I think, but would require an API change so that suitable templates could be marked.
Comment 8 Antonin Nebuzelsky 2010-03-29 14:10:03 UTC
Change of default owner.
Comment 9 Milos Kleint 2013-01-22 09:28:54 UTC
marking as duplicate of issue 186943 which was filed later but has a patch attached and has more votes and discussion

*** This bug has been marked as a duplicate of bug 186943 ***