Configuring CodeStation preferences

To resolve dependencies in a project, you must configure CodeStation preferences in the Eclipse plug-in.

Create a Java project in Eclipse. The project dependencies are stored in the Java project.
  1. In Eclipse, click Window > Preferences > CodeStation Preferences.
  2. Specify values for the preferences.
    Preference Value
    URL The base URL to the CodeStation server, including the protocol. Specify a port number if the CodeStation server does not use the default port. For example, enter https://server.example.com:8443.
    User The Build user name.
    Password The Build password.
  3. In Eclipse, right-click the Java project, and then click Build Path > Add Libraries.
  4. Select CodeStation Managed Artifacts from the list.
    1. Under Build Project, select the Build project that corresponds to the Eclipse project.
    2. Under Build Process, select the Build process that corresponds to the Eclipse project.
    3. To lock the dependency artifacts to a build life, enter a build life number under Build Life ID. If Build Life ID is left blank, the latest dependencies are retrieved.
  5. Go to the Console view, click Open Console, and then select CodeStation Console from the list.
  6. Go to the Package Explorer view, right-click the Java project, and then select CodeStation > Resolve Dependencies.
    The plug-in downloads dependencies from Build to the Eclipse project.