Click
Window > Open Perspective > Other... > Java
to change to the Java perspective.
Click
File > New > Other... > Java Project
to open the New Java Project wizard.
Immettere "Product1" nel campo Nome progetto. Fare clic su Avanti.
Nella pagina successiva, selezionare la cartella di origine "Product1".
Click Link additional source link in Details pane or button in view bar.
In Link Source click Browse.... e selezionare
la directory D:\Product1\JavaSourceFiles
.
Immettere "src" nel campo Nome cartella.
Click Finish to validate and close the dialog.
Espandere la cartella di origine "src". Select the empty package "tests"
and set it as source folder using either Use as Source Folder popup-menu item
or button in view bar.
L'impostazione di origine del progetto avrà il seguente aspetto:
D:\Product1\JavaSourceFiles
directory and the D:\Product1\JavaSourceFiles\tests
directory.
Procedura guidata Nuovo progetto Java
Vista Esplora pacchetti