Configuring Eclipse for component development

Before using the Component SDK to develop Studio components in Eclipse, you need to create two Eclipse classpath variables.

Note: Depending on your version of Eclipse, the steps below may vary slightly.

To configure the Eclipse classpath variables for Studio component development:

  1. In Eclipse, go to Window > Preferences > Java > Build Path > Classpath Variables.
  2. Create two new variables:
    Name Path
    DF_GLOBAL_LIB Path to the application server global library.

    Example:

    C:/endeca-portal/tomcat-<version>/lib

    DF_PORTAL_LIB Path to the Studio ROOT Web application library.

    Example:

    C:/endeca-portal/tomcat-<version>/webapps/ROOT/WEB-INF/lib

    Once these variables have been created, the components generated by the Component SDK can be imported into Eclipse.