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.
I just noticed that my attributes.xml is full of crap like this: <fileobject name="|space|src|nb_all|ant|test|unit|data|targetlister|dir1|dir3"> <attr name="instantiatingIterator" serialvalue=""/> <attr name="instantiatingWizardURL" urlvalue="nbresloc:/org/netbeans/modules/project/ui/resources/templatesFolder.html"/> <attr name="templateCategorized" boolvalue="true"/> <attr name="templateCategory" stringvalue="category_simpleFileTypes"/> <attr name="templateType_Other" boolvalue="true"/> </fileobject> just from making a new folder from template! This is very bad. Currently FileUtil.copyAttributes uses a fixed table (transientAttributes), which is now out of date. Either need to continue this hack, expanding the fixed list of attrs to match various attr patterns used in templates (e.g. "templateType_.*"), or provide a real SPI for specifying what to copy.
Talked with Hrebejk and Jirka about this and we will extend current mechanism with names of new attrs. Ugly.
wanted to say "expand current list..."
Fixed in: src/org/openide/filesystems/FileUtil.java new revision: 1.99; previous revision: 1.98