How to Exclude Files From a Project in NetBeans


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.

  • Open NetBeans and load the project from which you wish to exclude files.

  • 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.

Related Searches


Promoted By Zergnet



You May Also Like

  • 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...

  • 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 Run a Client Server in NetBeans

    NetBeans is a free Integrated Development Environment (IDE) software suite for computer developers. The project creation tools within NetBeans can help you...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!