Repository Integration with Eclipse Using WorkSpace Studio

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Setting Eclipse Preferences for ALER

This section contains information on the following subjects:

 


Overview

A number of ALER workspace preferences and project properties are available for workspace connection configuration and automatic usage detection. These are accessible using the standard Eclipse workspace preferences, using the Window > Preferences menu.

For an Eclipse project, you can right-click the project and select Properties from the menu.

 


Configuring the ALER Connection

If you haven't already entered connection credentials using the Connect to Enterprise Repository wizard, which is automatically invoke when querying or submitting assets before repository connectivity has been established, then you can manually set ALER connection credentials for an Eclipse workspace as follows:

  1. On the Window menu, click Preferences.
  2. Select AquaLogic Enterprise Repository.
  3. Figure 5-1 Preferences - Connection Credentials


    Preferences - Connection Credentials

  4. In the Credentials area, enter the server location and login credentials, as follows:
    • Repository URL - the URL of the repository server. The URL must include the host, port, and ALER server name. For example, http://localhost:7001/aler30.
    • User Name - user name to gain access to the repository.
    • Password - password to gain access to the repository.
  5. Click the Establish Connection button to ensure enterprise repository connectivity.
  6. If a connection cannot be established, an approrpriate error message will be displayed.

  7. Once connectivity is established, you can specify your workspace preferences:
    • Enter a Model Namespace to use as a default for your all of your projects. The Namespace provides a means to organize your models, with the Namespace pre-pended to the names of all the assets in the model in the repository. However, you can change the Namespace on a project-by-project basis (such as when submitting assets), and the new Namespace will only be saved for that project, but will not affect the Workspace Preference name.
    • Select a Repository project in ALER that the submitted model will be associated with. Asset usage is tracked in the repository and attributed to repository projects, which typically represent software development programs, business initiatives, etc.
  8. The Artifact Store area displays the name of a preconfigured Artifact Store that the submitted assets will be associated with. Artifact Stores contain the files relevant to assets in ALER and are configured in the ALER console by an administrator. The Details box may also display some additional information about the Artifact Store.
  9. Click OK to finish.

 


Configuring Automated Usage Detection

ALER can automatically detect asset reuse within the development environment. This allows development teams to ensure that they get asset reuse credit, regardless of whether the assets have been downloaded through ALER. Automated Usage Detection relies on a fingerprinting process, called Software File Identification (SFID), which tags selected files within an asset with a unique ID. This SFID is then used to detect when and where an asset is used, even if the asset was acquired through means other than the ALER Use - Download process. An instance of usage is recorded by ALER when tagged files within the asset are brought into the developer's IDE, and a new build or build clean occurs.

See the ALER Software File Identification Guide for more information.

Note: Automated Usage Detection requires the installation of the ALER Plug-in for WorkSpace Studio, and is currently compatible only with Eclipse and Eclipse-based IDEs.
  1. On the Window menu, click Preferences.
  2. Select AquaLogic Enterprise Repository.
  3. Select Workspace Automatic Usage Detection.
  4. Figure 5-2 Preferences - Workspace Automatic Usage Detection


    Preferences - Workspace Automatic Usage Detection

  5. Click the Detect usage in workspace projects check box, and then activate the desired usage detection features, as appropriate:
    • Enable usage detection in new workspace projects by default - monitors new projects
    • Detect usage of files on classpath - monitors files on classpath.
    • Detect usage of Java Runtime JARs - monitors Java Runtime JARs
    • Cache calculated SFIDs (recommended) - caches calculated SFIDs (enhances performance)
    • Detect usage of files matching pattern - monitors files matching specified patterns
  6. Enter the appropriate information in the File Pattern text boxes:
    • Include File Pattern - Includes indicated file pattern
    • Exclude File Pattern - Excludes the indicated file pattern
  7. Specify which project directories will be targets for automatic usage detection by using the individual check boxes or by using the Select All and/or Unselect All buttons.
  8. Click OK when finished.

  Back to Top       Previous  Next