On the next page, Select "Product1" source folder and click Add Folder....
In New Source Folder dialog, type "src" in the Folder name field.
Click Advanced. Check Link to folder in the file system.
Click Browse.... and choose the "AllJavaSourceFiles" directory.
Click Yes in confirmation dialog to have "Product1/bin" as default output folder.
In Inclusion patterns section of Inclusion and Exclusion Patterns dialog, click Add....
Type "com/xyz/product1/" in the Add Inclusion Pattern dialog.
Click OK to validate and close the dialog.
The Inclusion and Exclusion Patterns dialog now looks as follows:
Click OK to validate and close the dialog.
Your project source setup now looks as follows:
Click Finish.
Working with build paths
Creating a new Java project
Creating a Java project with source folders
Creating a new source folder
Using the Package Explorer