I was now able to successfully setup the development environment using OOMPH.
I don't see the same error. Looking at your error I see that the jar org.antlr.runtime_3.2.0 is not resolved. If you expand in Eclipse the plug-in "org.eclipse.tracecompass.ctf.core/Plug-inDependencies", do you see "org.antlr.runting_3.2.0_<datetime>.jar"?
You could try to reload the target definition tracecompass-e4.34.target to make sure that the dependencies are resolved correctly.
I just realized that I had an old Tracecompass.setup in my OOMPH workspace and that's why it setup an old version. So, please ignore what I wrote about the older version.
I'm still investigating and will come back to you when I know more.
Regards
Bernd
From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Bernd Hufmann via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: December 10, 2024 10:17 AM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Cc: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
Subject: [tracecompass-dev] Fw: Build errors when setting up Trace Compass development environment
From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
Sent: December 10, 2024 10:16 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: Re: Build errors when setting up Trace Compass development environment
Hi Greg
I had to try it myself. I haven't tried the OOMPH installer because I have had my environment setup for a while.
I noticed a couple of things when I tried it myself. The first thing I noticed is, that an old Tracecompass.setup OOMPH setup file is used (from 9.3 release). It still references the git repository located in Gerrit. The repository has been migrated to GitHub
in the meanwhile. The second thing is, that there is no target definition set after it's finished.
Please check the remote setting of the git repository and let me know if you notice the same issue.
So, what you can do:
After that you need to set the target platform. The steps are described here:
Once finished setting it, the workspace should build automatically. If not, please go to main menu "Project" and check "Build Automatically"
Then you can set the baseline API as described here:
Please let me know if this helps with your setup.
Note, that on my side I have to figure out why the OOMPH installer does not use the latest trace compass oomph setup file.
BR
Bernd
From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Greg Savin via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: December 4, 2024 7:00 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: [tracecompass-dev] Build errors when setting up Trace Compass development environment
Hi all,
As a quick indication of the sorts of errors I'm referring to, here are a few selected representative errors from the first page of errors shown:
ANTLRReaderStream cannot be resolved to a type Metadata.java /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace line 424 Java Problem
BaseTree cannot be resolved to a type Metadata.java /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace line 443 Java Problem
BitSet cannot be resolved to a type FilterParserParser.java /org.eclipse.tracecompass.tmf.filter.parser/target/generated-sources/antlr3/org/eclipse/tracecompass/tmf/filter/parser line 1138 Java Problem
From this limited bit of information, if anyone can discern something I might be doing wrong, I'd appreciate any feedback.
Thanks,
Greg Savin