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.
There have been reports by users of NetBeans 3.3.1 that after installing the XML modules, their Ant scripts suddenly stopped working and were treated as generic XML files. I believe this happened to me as well once, though it is not trivially reproducible that I know of. The problem is that the XML modules recognize *.xml. The Ant module installs a MIME recognizer which correctly assigns the MIME type text/x-ant+xml to the scripts, but if the XML data loader is first in the loader pool it will recognize the file anyway (since it ignores MIME type). The workaround as a user is easy if you know it: reorder the Object Types node in the Options dialog to put the Ant Scripts node above XML Files (or whatever they are called). Was fixed some time ago in the post-release33 trunk: see URL for diff. Just need to introduce an ordering constraint into the manifest. Note that the order of the loader pool is arbitrary except where there are constraints, which would explain semi-reproducibility.
Was fixed in the dev trunk, but may be a worthwhile fix for 3.3.2 because (1) the fix is simple, (2) the XML modules are considered stable for 3.3.x though on Auto Update, (3) while an easy workaround exists, it would not be obvious to most users, and without it major functionality is lost. BTW re. verification: no reports of the problem from dev builds; have responded on nbusers suggesting the above workaround and gotten replies that it worked. At least I can find this: http://www.netbeans.org/servlets/ReadMsg?msgId=247839&listName=nbusers
x
David, perhaps you want to handle this bug in case it is approved for integration to 3.3.2?
This issue was fixed by Jesse and I've just done review.
Verified in ffj-020401. Since this is not easily reproducible I just verified it by enabling and disabling ant and xml modules and restarting of IDE and moving node Ant Scripts on Tools | Options | IDE Configuration | System | Object Types.
See also issue #25163 for related discussion.
Resolved for 3.3.x or earlier, no new info since then -> closing.