Use to specify which source and test package folders are to be included your free-form project.
Element | Description |
---|---|
Source Packages Folder |
Specifies the folder that contains the Java source code for the project.
You must set the Source Packages Folder to the folder that contains the default package. You can add multiple source package folders. Add each source package folder at the folder that contains the default package. |
Test Packages Folder |
(Optional). Specifies the folder that the IDE uses when creating JUnit tests. By default, when you create a project the IDE creates a test packages folder called test with the label Test Packages. Use the buttons to the right of the list to remove the selected folder or to specify the folder that the IDE uses when creating tests. You can also modify the Label field to change how the folder is displayed in the Projects window.
You must set the Test Packages Folder to the folder that contains the default package. If the test packages folder for your project is missing or unavailable, you can create a new folder in your project and then use this pane to designate the new folder as the test packages folder. |
Source Level |
Specifies the JDK version that applies to the lowest Java platform version with which the Java code in your project is compatible.
The list sets which JDK classes are provided for code completion, Javadoc, and debugging. The IDE searches the Java platforms registered in the Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead. You can also add multiple source package folders. Each source package folder should be added at the folder that contains the default package. |
Includes/Excludes |
Includes or excludes specific classes in or from compilation.
In the Configure Includes and Excludes dialog, use |
Encoding |
Specifies the character encoding the IDE applies when it saves and displays project source files.
The project character encoding determines how the IDE interprets characters in your source files. The IDE displays and saves any new files you create using the encoding set by the project in which they reside. The default character encoding used with projects is UTF-8. Use the Encoding drop-down to change the character encoding used with the project. |
Note: Like all settings in the New Java Free-Form Project wizard, adding a source package folder to your project does not change the actual contents of your project as specified in your Ant script. These settings only configure your project to mirror your Ant script so that features such as code completion, error highlighting, and refactoring work correctly.
Related Topics
Developing Applications with NetBeans IDE,
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |