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.
All, I've found an anomaly in the ant module that occurs when using ant build files which include part of their contents (like in the case of our own project, or in the Jakarta log4j project). If the ant build file is then shown under Filesystems in the Exporer, and the entry is expanded to show all the tasks, then only the tasks in the file itself will be listed. None of the ones in the included file(s) will be shown (which is the majority of tasks in our case). This is clearly an error in the ant file parsing code, where the parser does not fully observe xml syntax. For example, if your ant build file contains: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE project [ <!ENTITY subproject.inc SYSTEM "subproject.inc"> ]> and &subproject.inc; somewhere in the body, then all the tasks in subproject.inc are not shown. Could you please fix this ASAP, as it stops us from cleaning up our build environment. We have a build environment with many subprojects with identical tasks, so we want to put them into an include file, but NetBeans does not support this at the moment because of this bug. Many thanks, Mark Gent
Check the issue 21728 and add any comments there. *** This issue has been marked as a duplicate of 21728 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.