Dashboard > Admin > Home > 02 Development Environment > 08 Importing the Source Code
Admin
08 Importing the Source Code
Added by Jody Garnett , last edited by Administrator on Jul 30, 2008  (view change)
Labels: 
(None)

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

  1. Allowing Eclipse to build everything while we are importing will slow things down
  2. Select Project > Build Automatically to turn off building

2 Import Plugins

  1. Go to * File > Import*
  2. Select General > Existing Projects into Workspace and press Next.
  3. Enter the following for Select root directory:
    C:\java\udig\trunk\plugins
  4. Press Finish to import these plugin projects

3 Create Working Sets

  1. From the Package Explorer view menu select Top Level Elements > Working Sets
  2. The Package Explorer view will display a single working set called Other Projects
  3. Click on the Package Explorer View and select Configure Working Sets..
  4. In the Select Working Sets dialog press New...
  5. 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
  6. Create a Java Working Set with the following:
    • Name: Fragments
    • No projects in this time, just press Finish
  7. Create a Java Working Set with the following:
    • Name: Features
    • No projects in this time, just press Finish
  8. Create a Java Working Set with the following:
    • Name: Tutorials
    • No projects in this time, just press Finish
  9. Create a Java Working Set with the following:
    • Name: Extras
    • No projects in this time, just press Finish
  10. Here is what it will look like when you are done:

4 Import Features

  1. Go to File > Import
  2. Select Existing Projects into Workspace from the Wizard then click the Next button
  3. With Select root directory enter the following:
    C:\java\udig\trunk\features
  4. Press Finish
  5. These new projects show up as members of Other Projects, drag them down into the Features working set

5 Import Fragments

  1. Go to File > Import
  2. Select Existing Projects into Workspace from the Wizard then click the Next button
  3. With Select root directory enter the following:
    C:\java\udig\trunk\fragments
  4. Press Finish
  5. These new projects show up as members of Other Projects, drag them down into the Fragments working set

6 Import Tutorials

  1. Go to File > Import
  2. Select Existing Projects into Workspace from the Wizard then click the Next button
  3. With Select root directory enter the following:
    C:\java\udig\trunk\tutorials
  4. Press Finish
  5. These new projects show up as members of Other Projects, drag them down into the Tutorials working set

7 Import Extras

  1. Go to File > Import
  2. Select Existing Projects into Workspace from the Wizard then click the Next button
  3. With Select root directory enter the following:
    C:\java\udig\trunk\extras
  4. Press Finish
  5. These new projects show up as members of Other Projects, drag them down into the Extras working set

8 Turn on Build

  1. Great! Now that you have the source code we can start automatic builds again ....
  2. 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

Powered by a free Atlassian Confluence Open Source Project License granted to uDig. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators
User-friendly Desktop Internet GIS