Java Reference
In-Depth Information
Figure 4.12 Step 4 of the Add Module Wizard prompts you to specify the directory where the
compiler output (the class files generated from your Java sources) will be placed.
You can also access these settings by selecting File | Settings , by using the short-
cut Ctrl+Alt+S , or by clicking the IDE Settings icon in the main toolbar (the
wrench and machine nut), as shown earlier in figure 4.4. All module-specific con-
figurations are found under the Paths icon on the Paths configuration screen
shown in figure 4.13. This screen lets you configure a project by adding and
removing modules from that project, and it also allows you to configure the
included modules. Each module has configuration options for its Paths , Librar-
ies (Classpath) , Dependencies , Order/Export (of the classpath) and Javadoc .
Configuring the content root folder
Modules have at least one content root folder, selected at creation time through
the Add Module Wizard as you've just seen. All the files and paths that make up
your module must fall under a content root folder. You can create additional con-
tent root folders if your module's files and folders are spread out in several direc-
tories. For most projects, this won't be necessary; one content root folder with
subfolders for source code, class files, and so forth, will suffice.
The left panel in the Paths tab in figure 4.13 shows all the path folders defined
for the currently selected module. These paths are organized by the content root
folder they belong to, because some modules have more than one content root
folder. You can add more content root folders by clicking the Add Content Root
 
 
 
Search WWH ::




Custom Search