Open NetBeans and load the project from which you wish to exclude files.
NetBeans is a computer application known as an Integrated Development Environment. It is primarily used for creating computer programs to run on desktops, servers, and the Internet. NetBeans uses a plug-in architecture, which means that any programming language or framework can be added to it to extend its capabilities. A collection of related files, folders and settings in NetBeans is called a project.
Locate the project in the Projects window. By default the Projects window will be docked to the left-hand side of the main window. If you cannot see it, press "Ctrl" and "1" to make it visible.
Right-click on the project name in the Projects window. A popup menu will appear. Click Properties, which should be the final item in the menu. The Project Properties dialog will appear.
Select Sources from the categories list on the left, which will be the top-most item.
Click on the button marked "Includes/Excludes," which will be on the lower right-hand side of the dialog box. The Includes/Excludes dialog will appear.
Type the exact file name of the file or files you wish to exclude, separating them with commas, in the Excludes box. File will disappear from the Included Files list and appear in the Excluded Files list as you type. You can also use wildcards to exclude groups of similarly-named files. Click "OK," and then OK again when you have finished.
Tips & Warnings
- Excluding files may prevent your project from compiling.
How to Run a Client Server in NetBeans
Click the "Start" button and "All Programs" to expand the Windows application menu. Click the "NetBeans" folder, then the "NetBeans" application icon.
How to Make a Java Game With NetBeans
NetBeans is a popular integrated development environment for the Java programming language. It is sponsored by Oracle and is free to use...
How to Compile a PHP File
General-purpose PHP (Hypertext Preprocessor) is a scripting language that was intended for dynamic Web development. PHP code is saved into a PHP...