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.
Not all children in Templates/MIDP/ marked with the position attribute: [ConverterVisualMIDlet.vmd, GameDesign.vmd, HelloMIDlet.vmd, VisualDesign.vmd, VisualMIDlet.vmd], but some are: [LocalizationSupport.properties, Midlet.java, MIDPCanvas.java, VisualMIDlet.java, VisualDesign.java, GameDesign.java, EmptyJMUnitTest.java, LocalizationSupport.java, HelloMIDlet.java, ConverterVisualMIDlet.java, E2EWebApplication.wsclient, Jsr172Application.wsclient] vmd.midp, vmd.midp.convertor, and vmd.game fail to specify positions for *.vmd files. If these are part of the same DataObject as the *.java file then they should be ignored automatically by the test. If not, they can be given position="0" if their position is irrelevant, or given real positions if relevant. (I remember there was some issue recently in datasystems moved from mobility about secondary file recognition - perhaps related?)
*** 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