Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Question about TraceCompass incubator features

Hi Geneviève,

Thank you very much the answeres! Your explanation helps solve the problem and I have one minor issue.

According to your explanations, I checked the plug-ins in "help->about" and find my problem is because of not adding my feature in rcp.product/tracing.incubator.product.

Now I added the feature and the product is now containing my feature.

My further problem is that, the build using Maven is frequently failed because of the problem BELOW, I think it's due to network issues, but it happens so frequent that I have to run the build command several times for each build.

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.3.0:package-plugin (default-package-plugin) on project org.eclipse.tracecompass.incubator.virtual.machine.analysis.core: Error assembling JAR: /home/d/projects/org.eclipse.tracecompass.incubator/vm/org.eclipse.tracecompass.incubator.virtual.machine.analysis.core/ isn't a file. -> [Help 1]​

I tried to comment out the "scripting" and "doc" modules in the root pom.xml file. 

But I would like to know if this helps reduce failure? Should I also comment some features in the rcp.product configurations?

also which modules could be removed from build, if I simply want to test importing my traces?

Best regards,


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Sent: Thursday, April 23, 2020 3:06 PM
To: tracecompass-dev@xxxxxxxxxxx
Subject: Re: [tracecompass-dev] Question about TraceCompass incubator features

Hi Yang,

From what you say, you seem to have done everything necessary in the code to make your tracetype available. Some things to check:

1- How do you run Trace Compass? Are you sure your plugin is enabled? In Eclipse, click on the "Run configurations...", select your configuration and on the "Plug-ins" tab, make sure your plugin is selected, or you have Launch with All workspace and enabled plugins. If you build your RCP with maven, then your plugins will need to be added to the rcp product (in the o.e.t.i.rcp.product project). To make sure, click Help -> About. Find the installation details button, in the Plug-ins tab, see if your plugin is there.

2- Are there any warnings in the plugin.xml or files? Sometimes, if the package containing your traces is not exported in the Manifest, there will be a simple warning, but the tracetype will not be found.

3- In the Console view, while you run, are there any error messages relating to your tracetype?

4- Do you have a default constructor for your trace type?

Those are my first ideas for why it does not work. Let us know if any of it fixes your problem, otherwise, more investigation will be required.

Best regards,


On 4/23/20 6:47 AM, tracecompass developer discussions wrote:


I'm developing a custom json parser in the TC incubator, and I have a question about it.

1. The build including my custom module is successful, but the feature doesn't show up in the "select trace type" when I right click on a trace, while running the incubator executable. What I want is to make my parser an option in the trace type selection, as other formats like Trace Event Format or OpenTracing.

Here's what I did:

My new feature is initialized with the command "skeleton/create_new_feature --dir tracetypes --copyright "" "myTraceType"

(I check the results of this command, the new modules are created and added to the pom.xml file)

I extended the JsonTrace and TmfEvent classes (as well as the traceEvent, traceField, etc) , the current implementations compiled successfully without error.

I add a "plugin.xml" under the mytrace.core module, specifying the id, name category, trace_type of my trace parser. I use the same template as I checked in other trace type modules. 

What should I do or undo to make a new option in the "select trace type" menu?

Thank you very much



tracecompass-dev mailing list
To unsubscribe from this list, visit

Back to the top