Use to specify the packages you want to include when creating a new project.
The Includes & Excludes panel is an optional step in the wizard that enables you to specify additional packages. This can be useful if, for example, you are working from a large project that contains many packages maintained in the same location. Filter the packages scanned from your existing sources by entering paths to the packages you want to either include or exclude. Classes that are not included are not be scanned when the wizard completes.
Element | Description |
---|---|
Includes |
Specifies the path or paths to packages you want to include. To enter a path, type in a path relative to the existing source folder that points to a package containing classes that you want included. |
Excludes |
Specifies the path or paths to packages you want to be excluded. To enter a path, type in a path relative to the existing source folder that points to a package containing classes that you want to be excluded. |
When you enter a valid path in either the Includes or Excludes field, the corresponding Included Files and Excluded Files text areas automatically update to inform you of the files contained in the directories you specified.
Sample paths provided include: com/mycorp/, **/doc-files/, **/*.html
. When using wildcards, note that an asterisk (*
) signifies all existing options for a single directory, and a double asterisk (**
) represents all possible combinations of super-directories from the root folder. For more information, including example patterns, see:
.
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |