Remember that source code you were checking out back in 02 Checkout Source Code - it seems like a long time ago now.
1 Turn Off Build
- Allowing Eclipse to build everything while we are importing will slow things down
- Select Project > Build Automatically to turn off building
2 Import Plugins
- Go to * File > Import*
- Select General > Existing Projects into Workspace and press Next.
- Enter the following for Select root directory:
C:\java\udig\trunk\plugins
- Press Finish to import these plugin projects
3 Create Working Sets
- From the Package Explorer view menu select Top Level Elements > Working Sets
- The Package Explorer view will display a single working set called Other Projects
- Click on the Package Explorer View and select Configure Working Sets..
- In the Select Working Sets dialog press New...
- Create a Java Working Set with the following:
- Name: Plugins
- Press Select All to select all the plugins just imported
- Press Finish to create the working set
- Create a Java Working Set with the following:
- Name: Fragments
- No projects in this time, just press Finish
- Create a Java Working Set with the following:
- Name: Features
- No projects in this time, just press Finish
- Create a Java Working Set with the following:
- Name: Tutorials
- No projects in this time, just press Finish
- Create a Java Working Set with the following:
- Name: Extras
- No projects in this time, just press Finish
- Here is what it will look like when you are done:
4 Import Features
- Go to File > Import
- Select Existing Projects into Workspace from the Wizard then click the Next button
- With Select root directory enter the following:
C:\java\udig\trunk\features - Press Finish
- These new projects show up as members of Other Projects, drag them down into the Features working set
5 Import Fragments
- Go to File > Import
- Select Existing Projects into Workspace from the Wizard then click the Next button
- With Select root directory enter the following:
C:\java\udig\trunk\fragments - Press Finish
- These new projects show up as members of Other Projects, drag them down into the Fragments working set
6 Import Tutorials
- Go to File > Import
- Select Existing Projects into Workspace from the Wizard then click the Next button
- With Select root directory enter the following:
C:\java\udig\trunk\tutorials - Press Finish
- These new projects show up as members of Other Projects, drag them down into the Tutorials working set
7 Import Extras
- Go to File > Import
- Select Existing Projects into Workspace from the Wizard then click the Next button
- With Select root directory enter the following:
C:\java\udig\trunk\extras - Press Finish
- These new projects show up as members of Other Projects, drag them down into the Extras working set
8 Turn on Build
- Great! Now that you have the source code we can start automatic builds again ....
- Select Project > Build Automatically to turn on building
(It probably wont work the first time - head to the next page to see how to download all the open source jars into the libs project)
Previous: 07 Eclipse Preferences Next: 09 Libs Refresh.xml Ant Script