blob: e9708afaa3d4c867bcb4faacc3cd42223af318bf [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>New Java Project with Existing Sources Wizard: Includes &amp; Excludes</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="org.netbeans.modules.java.j2seproject.ui.wizards.PanelIncludesExcludes" name="org.netbeans.modules.java.j2seproject.ui.wizards.PanelIncludesExcludes"></a></p>
<div id="NBCSH2035"><!-- infolevel="all" infotype="General" --><a id="sthref275" name="sthref275"></a>
<h1>New Java Project with Existing Sources Wizard: Includes &amp; Excludes</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>Use to specify the packages you want to include when creating a new project.
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG382">
<param name="text" value="<html><u>How?</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<p>The Includes &amp; 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.</p>
<table summary="Descriptions of includes and excludes properties of New Java Project existing sources wizard." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="38%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t6">Element</th>
<th align="left" valign="bottom" id="r1c2-t6">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t6" headers="r1c1-t6">
<p>Includes</p>
</td>
<td align="left" headers="r2c1-t6 r1c2-t6">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.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t6" headers="r1c1-t6">
<p>Excludes</p>
</td>
<td align="left" headers="r3c1-t6 r1c2-t6">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.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>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.</p>
<p>Sample paths provided include: <code dir="ltr">com/mycorp/, **/doc-files/, **/*.html</code>. When using wildcards, note that an asterisk (<code dir="ltr">*</code>) signifies all existing options for a single directory, and a double asterisk (<code dir="ltr">**</code>) represents all possible combinations of super-directories from the root folder. For more information, including example patterns, see: <code dir="ltr">
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://ant.apache.org/manual/dirtasks.html">
<param name="text" value="<html><u>http://ant.apache.org/manual/dirtasks.html</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</code>.</p>
<a id="NBCSH2038" name="NBCSH2038"></a>
<hr><p><b>Related Topics</b></p>
<p>Developing Applications with NetBeans IDE,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG370">
<param name="text" value="<html><u>&quot;Using Java Project Templates&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>