|Re: [tracecompass-dev] Question about TraceCompass incubator features|
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/.polyglot.build.properties
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?
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
Subject: Re: [tracecompass-dev] Question about TraceCompass incubator features
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 manifest.mf 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.
On 4/23/20 6:47 AM, tracecompass developer discussions wrote:
Back to the top