TraceLab Components for Reproducing Source Code Summarization Experiments

Breno Dantas Cruz, Paul "Will" McBurney, Collin McMillan

How to Install for Newcomers

This page contains a guide step-by-step on how to install a component to TraceLab.

For this tutorial we will be using all the configuration settings of the virtual machine available for download. Please follow the steps below for installing and compiling the TraceLab components:

  1. Download the desired component
  2. Open a new terminal
  3. img1
  4. Use the terminal to navigate to where the component folder is located. For example if the file was downloaded to the "Downloads" folder type in the terminal 'cd Downloads\ND_Component', where ND_Component will be name of the component.
  5. img2
  6. Type the following line of command in the terminal 'gedit build.xml' to open the editor. We will use the text editor to change the paths in the xml file for building purposes.
  7. The line 'Components output directory' shows the location where the components are stored for TraceLab. In the case of the virtual machine the location is '/home/smiley/TraceLab/Components'. If you are not using the provided virtual machine replace the contents of the value key by the absolute path to the components folder of TraceLab.
  8. img3
  9. The line 'Path to IKVM directory' shows the location where the ikvm is installed in the machine. In the case of the virtual machine the location is '/home/smiley/software/ikvm/ikvm-7.1.4532.2/bin'. If you are not using the provided virtual machine replace the contents of the value key by the absolute path to the ikvm.
  10. img4
  11. The line 'Path to TraceLabSDK.dll' shows the location of the TraceLabSDK.dll. If you are not using the provided virtual machine replace the contents of the value key by the absolute path to the 'TraceLabSDK.dll'.
  12. img5
  13. The line 'Path to TraceLabSDK.Types.dll' shows the location where the TraceLabSDK.Types.dll is located. If you are not using the provided virtual machine replace the contents of the value key by the absolute path to the 'TraceLabSDK.Types.dll'.
  14. img5
  15. The line 'Path to mscorlib.dll' shows the path to mscorlib.dll. It needs to receive the absolute path to the mscorlib.dll. If you are not using the provided virtual machine replace the contents of the value key by the absolute path to the 'mscorlib.dll'.
  16. img5
  17. Save and close the build.xml file.
  18. On the terminal run 'ant'
  19. img4 img4
  20. Now the component should be installed in TraceLab.
  21. Now let's open TraceLab to check the where the component is installed. If you are using the virtual machine provided, type tracelab in the terminal it should open the program.
  22. To find the desired component we'll use TraceLab's search bar. For this tutorial we'll be searching for the ND File Parser Component. To find the desired component type at the search box on the top left corner the name of the component.
  23. img5
  24. Create a new TraceLab experiment.
  25. img6
  26. Drag the component to your experiment and check for the input variables.
  27. img7
  28. Connect the components in your experiment.
  29. img8
  30. Run the experiment.

Table of Contents

Downloads