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.

Instructions

    • 1

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

    • 2

      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.

    • 3

      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.

    • 4

      Select Sources from the categories list on the left, which will be the top-most item.

    • 5

      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.

    • 6

      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

References

Resources

You May Also Like

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

  • Tutorial on Enterprise Java Bean

    Enterprise Java Beans, or EJB, are the server-side components of Java technology, implementing an enterprise-level business logic, such as in transaction processing...

Related Ads

Check It Out

Geek Vs Geek: The Best Tech of 2014