Skip to content

Latest commit

 

History

History
131 lines (83 loc) · 5.82 KB

File metadata and controls

131 lines (83 loc) · 5.82 KB

Traceability Assistant - plugins

TRAS(Traceability Assistant) is a semi-automated tool that help analysts uncover traceability links between requirements documents described as use cases and architectural documents.

This project presents TRAS in a set of eclipse plugins. It uses Tycho to build and release the plugins.

More information: http://traceability-assistant.mybluemix.net/

Installation instructions

This plugin has primarily been tested with Eclipse 4.3 and 4.4. The plugin is not compatible with versions of Eclipse preceding 4.3. The plugin runs under Java 1.6/6.0, or newer.

To install the TRAS plugin:

  1. In Eclipse, click on Help -> Software Update -> Find and Install...
  2. Choose the Search for new features to install option, and click Next.
  3. Click New Remote Site.
  4. Enter the following:
  5. "TRAS update site" should appear under Sites to include in search.
    Click the checkbox next to it to select it, and click Finish.
  6. You should see TRAS under Select features to install.
    Select the checkbox next to it and click next.
  7. Select the I accept option to accept the license and click Next.
  8. The plugin is not digitally signed. Go ahead and install it anyway.
  9. Click Yes to make Eclipse restart itself.

svdlib

In order to use the traceability discovery feature you need to install a library called SVD.
Once the library is installed, open a terminal and type svd. If you get command not found, export the library folder to your PATH.

export PATH=$PATH:/path/to/svdlibc/directory  

e.g: /Users/foo/svdlibc that way the runtime can find the svd command.

Sometimes even if svd is installed, eclipse doesn't find it. That's because eclipse is not using the same PATH as your terminal. While running in eclipse you can manually add svd to your PATH variable in the run configuration.

svd as part of the Run Configuration svd

Setting up the local environment

Steps to run the plugins in your development environment.

Assumptions

  1. Download the traceability-assistant code:

     git clone [email protected]:germanattanasio/traceability-assistant.git
    
  2. Download the plugins code:

     git clone [email protected]:germanattanasio/traceability-assistant-eclipse-plugins.git
    
  3. Generate the traceability-assistant jar file.

  4. In the traceability-assistant folder run:

     mvn clean install
    
  5. Copy traceability-assistant/target/traceability-assistant-1.1.2-jar-with-dependencies.jar into tras-plugins/edu.isistan.carcha.plugin

  6. Create a Eclipse Application Run configuration. See image below. run-configuration

  7. Run it!

Note: You can find all the Run configurations in: tras-plugins/edu.isistan.carcha.master/runners runners

Using TRAS

Recovering traceability links

recovering-traceability

Full video.

Uninstalling TRAS

Run Help > About Eclipse > Installation Details, select Traceability Assistant and click Uninstall. (On Macintosh it is Eclipse > About Eclipse > Installation Details.)

Release process

  1. Create a maven run configuration in the parent project
  2. Set tycho-versions:set-version as goal
  3. Add newVersion as parameter and x.x.x as version.
  4. Click Run.
  5. Create another maven run configuration in the parent project
  6. Set clean instal as goal
  7. Click Run.
  8. The update-site will be available at:
    edu.isistan.carcha.p2updatesite/target/edu.isistan.carcha.p2updatesite-x.x.x.zip
    The zip file contains all the information you need to install the plugin in your eclipse.

What is REAssistant?

REAssistant is an Eclipse toolset that supports the identification of software concerns in textual requirements specifications, mainly use cases.

To achieve its work, REAssistant is based on three pillars:

  • an annotation-based representation of textual use cases,
  • a pipeline of Natural Language Processing (NLP) techniques and domain knowledge (about use cases),
  • concern-specific rules that, when executed on the use case representation, can extract concern-related information.

In this way, REAssistant aims at exposing both candidate concerns and contextual information (typically, crosscutting relations) that might be overlooked by the analyst.

How to install REAssistant

In order to install REAssistant you will have to contact alejandro.rago[at]gmail[dot]com.

Troubleshooting

  1. Open a terminal and type svd.

  2. If you get command not found, export the library folder to your PATH.

     export PATH=$PATH:/path/to/svdlibc/directory
    

    e.g: /Users/foo/svdlibc that way the runtime can find the svd command.

    If you are using eclipse you need to look at the environment. You may need to add the path variable in your run configuration and include the path to svdas showed above. You can also follow the instructions in this blog

License

This sample code is licensed under Apache 2.0. Full license text is available in LICENSE.