| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <title> |
| Creating a new source folder |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| Creating a new source folder |
| </h1>You can create a new folder to contain Java source code using the New Source Folder wizard.<ol> |
| <li> |
| In the Package Explorer, select the project where you want the new source folder to reside. |
| </li> |
| <li> |
| From the project's pop-up menu, select <strong>New</strong> > <strong>Source Folder</strong>. The New Source Folder wizard opens. |
| </li> |
| <li> |
| In the <strong>Project Name</strong> field, the name of the selected project appears. If you need to edit this field, you can either type a path or |
| click <strong>Browse</strong> to choose a project that uses source folders. |
| </li> |
| <li> |
| In the <strong>Folder Name</strong> field, type a name for the new source folder. |
| </li> |
| <li>If the new folder nests with an existing source folder you can check <strong>Update |
| exclusion filters in other source folders to solve nesting</strong>. Otherwise you have to use the |
| <a href="../reference/ref-123.htm">Java Build Path</a> page <strong>(Project |
| > Properties > Java Build Path)</strong> to fix the nesting conflict by removing other source folders.</li> |
| <li> |
| Click <strong>Finish</strong> when you are done. |
| </li> |
| </ol> |
| <p> |
| <img src="../images/ngrelc.png" alt="Related concepts" border="0" > |
| </p> |
| <p> |
| <a href="../concepts/concepts-3.htm">Java projects</a> |
| </p> |
| <p> |
| <img src="../images/ngrelt.png" alt="Related tasks" border="0" > |
| </p> |
| <p> |
| <a href="tasks-11.htm">Creating Java elements</a><br> |
| <a href="tasks-12.htm">Creating a new Java project</a><br> |
| <a href="tasks-15.htm">Creating a new Java package</a><br> |
| <a href="tasks-13.htm">Creating a Java project as its own source container</a><br> |
| <a href="tasks-14.htm">Creating a Java project with source folders</a> |
| </p> |
| <p> |
| <img src="../images/ngrelr.png" alt="Related reference" border="0" > |
| </p> |
| <p> |
| <a href="../reference/ref-123.htm">Java Build Path</a><br> |
| <a href="../reference/ref-128.htm">New Source Folder wizard</a><br> |
| <a href="../reference/ref-3.htm">Java Toolbar actions</a><br> |
| <a href="../reference/ref-view-package-explorer.htm">Package Explorer</a> |
| </p> |
| |
| </body> |
| </html> |
| |