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 44704 - New Project wizard: Project templates are not ordered as defined in layer.xml
Summary: New Project wizard: Project templates are not ordered as defined in layer.xml
Status: CLOSED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords:
Depends on:
Blocks: 42864
  Show dependency tree
 
Reported: 2004-06-10 14:03 UTC by David Kaspar
Modified: 2006-03-24 10:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2004-06-10 14:03:44 UTC
When I open New Project wizard and click on Mobile
category, the project templates are shown in the
right list in following order:
Mobile Application
Mobile Project with Existing MIDP Sources
Import Mobility Studio Project
Mobile Class Library
Import Wireless Toolkit Project

But they should be listed in following order:
Mobile Application
Mobile Class Library
Mobile Project with Existing MIDP Sources
Import Wireless Toolkit Project
Import Mobility Studio Project

Part of layer.xml:

folder name="Templates"
  folder name="Project"
    folder name="J2ME"
      attr
name="emptyJ2MElibrary.xml/j2me-sources.xml"
boolvalue="true"
      ...
      file name="emptyJ2MElibrary.xml" ...
      file name="j2me-sources.xml" ...

In the IDE there is
"org.openide.loaders.FolderOrder" class which
implements items ordering in folders.
This class is created/used for J2ME category
folder only when I expand (double-click on) Mobile
category node.
Comment 1 Jesse Glick 2004-08-04 02:34:40 UTC
Works for other project types, reopen w/ details to reproduce as needed.
Comment 2 Marian Mirilovic 2005-07-12 10:11:52 UTC
closed