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 61881 - New File Type wiz - add a trivial template too
Summary: New File Type wiz - add a trivial template too
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 18:46 UTC by Jesse Glick
Modified: 2005-09-05 09:51 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 Jesse Glick 2005-08-05 18:46:46 UTC
It would probably be a good idea to add at least a very basic file template for
new file types, e.g.

    <folder name="Templates">
        <folder name="Other">
            <file name="typenamehere.xml">
                <attr boolvalue="true" name="template"/>
                <![CDATA[<root xmlns="http://the.uri/"/>]]>
            </file>
        </folder>
    </folder>

or

    <folder name="Templates">
        <folder name="Other">
            <file name="typenamehere.extension">
                <attr boolvalue="true" name="template"/>
                <![CDATA[sample contents]]>
            </file>
        </folder>
    </folder>

Enough to get people started, anyway.
Comment 1 Milos Kleint 2005-08-09 10:57:40 UTC
done.