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 is no javac.excludes property. I have code in my repository that is not build ready. There is a facility in ANT to do exclude stuff from the javac. I went in and edited the build-impl file (the "Do not edit this file" file) and the excludes directive seemed to work perfectly...I just had to edit the forbidden file. It *seems* as though this would be a relatively easy thing to add to the build process. It would be even nicer if there was a place in the UI to change this value, but I can understand that it might be too late in the game for that. I am marking this as a DEFECT since I will either need to restructure my CVS repository to have it work with netbeans, or edit the build-impl file.
Thanks. Something very similar is already tracked and planned for 4.1 as issue 49026. Re. customization of build-impl.xml - do not modify this file! Instead customize your build.xml. You can override there (feature of Ant 1.6) any target from build-impl.xml. That's how it is designed. *** This issue has been marked as a duplicate of 49026 ***
This may be related to 49026, but must it wait just because it is related? If the decision is made again that it must wait, then so-be- it, but I was hoping it would not be a major issue. The upgrade path from previous 3.5.1 is rocky already. Then, when I thought I finally had everything configured, my test compile fails. Maybe no one else will have this issue, but if it is not too difficult, it sure would have helped me feel more positive about the whole expierence.
Unfortunately it is too late. The 4.0 is in High Resistence mode and only high priority bugs are integrated. I think the issue 49026 is superset of this one - the files must not only be excluded from compilation but also from IDE parser, etc. On the other hand I agree that something like this should be part of a "cookbook" or some similar doc - how to customize javac to exclude some files. Passing to our docs team and changing to TASK.
Closing this issue. The following docs describe how to Include/Exclude certain files from compilation: 1) http://wiki.netbeans.org/FaqExcludes 2) http://netbeans.org/kb/docs/java/project-setup.html 3) http://wiki.netbeans.org/Excludes49026 If more information is needed, please reopen this issue. - Irina