Importing Versions Manually

  1. Display the Version pane for the component you want to use Components > [select component] > Versions.

    Component Version Pane

    Component Version Pane

    All versions statuses come from active/inactive Source Config Type field.

  2. Enter helloWorld in the Name field.

    Display the Import.

  3. Enter a description in the Description field.

    The optional description can be used to convey additional information about the component. If the component is used by more than one application, for example, entering "Used in applications A and B" can help identify how the component is used. If you are unsure about what to enter, leave the field blank. You can always return to the component and edit the description at any time. In an attempt to appear hip, I entered Euro store for my component.

    For this exercise, ignore the Template field. Templates provide a way to reuse commonly used component configurations. For information about templates, see Component Templates.

  4. Select File System (Versioned) from the Source Config Type field.

    Selecting a value displays several fields required by the selected type.

    Source Config Type

    Source Config Type

    File System (Versioned) is one of the simplest configuration options and can be used to quickly set-up a component for evaluation purposes, as we do here.

  5. Complete this option by entering the path to the artifacts.

    In our example, the artifacts are stored inside the subdirectory created earlier. File System (Versioned) assumes that subdirectories within the base directory are distinct component versions, which is why we placed the files (artifacts) inside a subdirectory. File System (Versioned) can automatically import versions into CodeStation. If a new subdirectory is discovered when the base directory is checked, its content is imported and a new version is created.

  6. Check the Import Versions Automatically check box.

    When this option is selected, the source location will be periodically polled for new versions. If this option is not selected, you will have to manually import a new version every time one becomes available. The polling interval is controlled by the Automatic Version Import Check Period (seconds) field on the Settings pane (Home > Settings > System. The default value is 15 seconds.