New Java Project with Existing Sources Wizard: Existing Sources

Use to create a new standard project from an existing Java SE source folder. Open the wizard by opening the New Project wizard and selecting the Java Application with Existing Sources template from the General category.

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.

Test Packages Folder

(Optional). Specifies the folder that contains the JUnit test suites for the project.

You must set the Test Packages Folder to the folder that contains the default package. 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.



Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.