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.
Summary: | Folder ordering problem | ||
---|---|---|---|
Product: | javame | Reporter: | Jesse Glick <jglick> |
Component: | Visual Designer | Assignee: | Karol Harezlak <kharezlak> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jtulach |
Priority: | P2 | Keywords: | RANDOM, TEST |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://deadlock.netbeans.org/hudson/job/trunk/2975/testReport/org.netbeans.core.projects/ValidateLayerConsistencyTest/testFolderOrdering/ | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2008-07-22 20:10:32 UTC
*** Issue 141063 has been marked as a duplicate of this issue. *** Seems to fail randomly. The datasystems issue I was referring to is issue #137944, now marked as a duplicate of issue #136931. Definitely random - next build passed with no related changes. vmd.io.javame/src/org/netbeans/modules/vmd/io/javame/layer.xml and vmd.io.javame/src/org/netbeans/modules/vmd/io/javame/MEDesignDataLoader.java do seem to imply that the *.java + *.vmd should be treated as a single DataObject and thus only the primary file should be considered by VLCT.tFO, which just runs List<FileObject> kids = new ArrayList<FileObject>(); for (DataObject kid : DataFolder.findFolder(folder).getChildren()) { kids.add(kid.getPrimaryFile()); } FileUtil.getOrder(kids, true); All *.vmd templates are part of same DataObject as *.java where *.java is primary. According to the documentation .vmd templates as a secondary don't need to have position specified. During the review of the layers I've found one issue which may caused problems: two of the templates has same position value (500) so I've fixed it. changeset: http://hg.netbeans.org/main?cmd=changeset;node=1d51ad7aec75 |