|
|||||||
|
|||||||
|
|
|||||||
| Next : Import third party JARs | |||||||
Create source foldersSwitch to the "Source" tab in the Properties dialog. ![]() Using multiple source folders is a good way to separate different types of code. This can make your project easier to work with and simplifies the Ant build scripts which we'll write later. We're going to set up separate source folders for application code and unit test code. Click on "Add Folder" and type "src": ![]() Click "Yes" when prompted. ![]() Click on "Add Folder..." again and then "Create New Folder...". This time, call the folder "test". Click "OK" twice. You'll see that we now have two source folders: ![]() Clicking on "Order and Export" shows you the complete classpath used for compiling any Java source files in the project (we haven't created any source code yet!). The classpath currently contains the two source folders plus the JRE: . ![]()
| |||||||
|