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 154704 - Cannot create HTML file in j2se or maven project
Summary: Cannot create HTML file in j2se or maven project
Status: VERIFIED DUPLICATE of bug 154539
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-05 10:40 UTC by Jaromir Uhrik
Modified: 2009-06-21 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (62.83 KB, image/png)
2008-12-05 10:40 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2008-12-05 10:40:00 UTC
Product Version: NetBeans IDE Dev (Build 081204)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)

It is not possible to create HTML file (and probably other file types) in the j2se project which is regression. There is
no straightforward way to create such a file since Other>HTML file item is not available in the New File dialog invoked
by main menu File|New File...
See the attached screenshot where the HTML template is missing.
Comment 1 Jaromir Uhrik 2008-12-05 10:40:56 UTC
Created attachment 74584 [details]
Screenshot attached...
Comment 2 Jaromir Uhrik 2008-12-05 10:45:14 UTC
I have another related usecase:
I tried to open j2se project containing .html file inside a source package. Then I opened the .html file in the editor
and I see no syntax coloring and other features of html editor - simply the html editing support is not activated. 
Comment 3 Jaroslav Tulach 2008-12-05 14:07:43 UTC
If you are working with JavaSE project only, then you need to compare this to behaviour of JavaSE IDE. Can it create 
HTML files?

But I agree that the behaviour is not really good and deserves a fix. Also see issue 154538 and issue 154539 which are 
similar, but less tragic, as JavaSE distribution definitely does not support there files.
Comment 4 Jaromir Uhrik 2008-12-05 22:29:24 UTC
I just want to confirm that in JavaSE distribution of IDE you can create as many .html files as you want. So that this
behavior is required also in ergonomics IDE.
Comment 5 Jaroslav Tulach 2008-12-07 11:35:28 UTC
Fixed by making all file templates available.

*** This issue has been marked as a duplicate of 154539 ***
Comment 6 Jaromir Uhrik 2008-12-11 09:17:46 UTC
Marking as verified.