Standard EJB Module Project Properties Dialog Box: Sources

See Also 

You open this dialog box by right-clicking any  and choosing Properties. The Sources page lets you define the folders that contain the project's source packages and test packages. Use the buttons on the right of the dialog box to add, remove, and change the order of the folders.

You can have multiple source roots in a standard project, with the following exceptions:

You can use the Source/Binary Format combo box to set the lowest Java platform version with which the generated Java code should be compatible. This setting corresponds to the javac -source option. Setting the source/binary format helps prevent you from using Java language constructs that are not available in the platform version to which you want to deploy. However, setting the source/binary format does not ensure that the platform APIs are used compatibly with that platform version. To make sure that your application is fully compatible with an earlier Java platform version, you need to switch to the Libraries tab and set the Java Platform setting to the minimum version on which you plan to deploy.

Test Packages Folders

You can use this pane to specify 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.

To create JUnit tests with the IDE, a project must have a test packages folder. 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.

See Also
About Standard Projects
About Free-Form Projects
Creating a JUnit Test
Standard EJB Module Project Properties Dialog Box:
         Libraries
         Compiling
         Packaging
         Documenting
         Run
         Web Services
Setting the Target JDK in a Project

Legal Notices