GitXplorerGitXplorer
t

tracecompass-incubator

public
0 stars
2 forks
1 issues

Commits

List of commits on branch master.
Unverified
5f09b666a16aaebdcf61255703f59f75277e3975

scripting: Update examples.html for html5 support

ttahini committed 4 years ago
Unverified
36497b104bb2ea69ef528603ee84dcaf63df0b6a

opentracing: Add the operation name to the span's state

ttahini committed 4 years ago
Unverified
1c7133db9d61feaabbe1a6d4e09d1e3f4627fc44

trace-server: Define annotations endpoints

aabhinava-ericsson committed 4 years ago
Unverified
922b54b1a3ad6f310c325bbf31381bce5afb6502

opentracing: Add span to root if parent not found

ttahini committed 4 years ago
Unverified
624bef8496c11be4c7b2c2eb01379e02969adbbb

scripting: Update the XY views to new tracecompass API

ttahini committed 4 years ago
Unverified
a6edfa971d79278f1513d154e7eca9be5cb1fe89

rest: Correctly serialize table columns and lines

ttahini committed 4 years ago

README

The README file for this repository.

Eclipse Trace Compass Incubator

This source tree contains the source code for Trace Compass Incubator plugins.

For information on running the Trace Compass Trace Server, refer to the README in the trace-server directory.

Table of Contents

Project rules and guidelines

This project is an incubator which aims at rapid availability of new features and prototypes, to provide new functionnalities to end users and get feedback from them during the development process. As such, code style and design architecture will not be looked at too much during reviews, though some advices and ideas can be discussed. The features have to work as expected though and not break anything in Trace Compass.

  • Add unit tests: CI will be run on every patch on gerrit, so having unit tests ensures that a patch does not break anything somewhere else. Also, these plugins are work in progress. Having unit tests makes it easier to manipulate code structure and algorithms by knowing the expected results. Tests need to be maintained, but have more benefits than trouble.

  • There is no release, so no API. Plugins may use the other incubation features at their own risk.

  • The incubator is an Eclipse project so code will be verified to make sure it can be distributed by Eclipse. Committers are responsible to ensure the IP due diligence is met with every patch submitted.

When the code base of some feature gets more stable and mature, it may be ported to the main Trace Compass repository and only then will there be thorough code review and design discussion.

Setting up the development environment

To set up the environment to build Trace Compass from within Eclipse, see this wiki page: http://wiki.eclipse.org/Trace_Compass/Development_Environment_Setup

Once the Trace Compass environment set, import the projects from this repository.

Compiling manually

The Maven project build requires version 3.3 or later. It can be downloaded from http://maven.apache.org or from the package management system of your distro.

To build the project manually using Maven, simply run the following command from the top-level directory:

mvn clean install

The default command will compile and run the unit tests. Running the tests can take some time, to skip them you can append -Dmaven.test.skip=true to the mvn command:

mvn clean install -Dmaven.test.skip=true

The resulting executables will be in the rcp/org.eclipse.tracecompass.incubator.rcp.product/target/products. There are the archives for linux, macos and Windows. The sub-directories org.eclipse.tracecompass.incubator.rcp/<os>/... contain the executable for each OS.

To generate the javadoc from the Trace Compass source code, run the following command from the top-level directory:

mvn clean package javadoc:aggregate

The javadoc html files will be under target/site/apidocs.

Maven profiles and properties

The following Maven profiles and properties are defined in the build system. You can set them by using -P[profile name] and -D[property name]=[value] in mvn commands.

  • -Pdeploy-update-site

    Mainly for use on build servers. Copies the standard update site (for the Eclipse plugin installation) to the destination specified by -DsiteDestination=/absolute/path/to/destination.

  • mvn javadoc:aggregate

    Mainly for use on build servers. Generates the javadoc of API classes as a HTML website to the destination specified by -Djavadoc-site=/absolute/path/to/destination.