1.6. How to import JavaConfig as an Eclipse project
Prev | 1. Introduction | Next

## 1.6. How to import JavaConfig as an Eclipse project

The JavaConfig source tree contains Eclipse project metadata (.classpath and .project files), making it convienient to import. Also, as Ivy is used to resolve dependencies, it is necessary to set up an IVY_CACHE variable as detailed below.

    From within Eclipse:
    1. Preferences->Java->Build Path->Classpath Variables->New...
       Name:  IVY_CACHE
       Value: [your-javaconfig-root]>/ivy-cache/repository
    2. File->Import->Existing Projects into Workspace
    3. Select [your-javaconfig-root]/org.springframework.config.java/
    4. org.springframework.config.java should show up with a checkbox

The project should now be imported, error-free and ready for development.

Prev | Up | Next
1.5. How to retrieve and build JavaConfig from source | Home | 1.7. How to obtain milestone builds