Skip to content
Success

Changes

Summary

  1. skeleton: update parent version (details)
  2. skeleton: Fix typos in related README files (RCP) (details)
  3. skeleton: add base ID option (details)
  4. server: Make the EndpointConstants class final (details)
Commit 4a97d42fc8ed0a6f271055b9466ce877b59460a6 by Patrick Tasse
skeleton: update parent version

This is not necessary if a plugin (created using the skeleton script) is
built using Eclipse, but it is required when including the plugin in an
RCP and building it.

Change-Id: Ice5d9d3cdc613cbe2f27dd037a6349cc5bef98ce
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/195196
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified skeleton/pom.xml (diff)
Commit aa182d8e01eb54ad00f7dd7ae8425c80cec73eb1 by Marco Miller
skeleton: Fix typos in related README files (RCP)

Change-Id: I2bc64b053fe643c82ce3bee316009b1fc93abd35
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/195367
Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified skeleton/skeleton.rcp/README.md (diff)
The file was modified skeleton/README.md (diff)
Commit 0e4463649f20a053580b8578054b5138d8a27a17 by Marco Miller
skeleton: add base ID option

This allows users to specify a base ID to replace the usual
org.eclipse.tracecompass.incubator prefix. For example, this could be
used by a company called "ACME" to create plugins for their own
features. They would then use the "com.acme" base ID.

To test this:

1. cd ./skeleton
2. ./create_new_feature.py Defaults --dir ../tracetypes --copyright Acme
3. ./create_new_feature.py Acmes --dir ../tracetypes --copyright Acme \
    --base-id com.acme

Grepping for "org.eclipse.tracecompass.incubator" proves the absence of
it, since "com.acme" was used instead in the generated "Acmes" plugin
files. Only the annotation-equipped classpath files kept it, which is
expected.

As for the "Defaults" case above, which does not use the '--base-id'
option, regenerating an existing plugin gives the same result it would
have given before, as expected.

Loading the resulting new projects in Eclipse builds successfully, same
for the maven build from clean.

Change-Id: If8528e5f0282074565856509538e046a6bf7f8af
Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
Signed-off-by: Christophe Bedard <christophe.bedard@apex.ai>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/194973
Tested-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-by: Marco Miller <marco.miller@ericsson.com>
The file was modified skeleton/skeleton.ui/META-INF/MANIFEST.MF (diff)
The file was modified skeleton/skeleton.ui.swtbot.tests/.project.skel (diff)
The file was modified skeleton/create_new_feature.py (diff)
The file was modified skeleton/pom.xml (diff)
The file was modified skeleton/skeleton.core.tests/src/ActivatorTest.java (diff)
The file was modified skeleton/skeleton.ui/.project.skel (diff)
The file was modified skeleton/skeleton.doc.user/META-INF/MANIFEST.MF (diff)
The file was modified skeleton/skeleton.ui.swtbot.tests/META-INF/MANIFEST.MF (diff)
The file was modified skeleton/skeleton.core.tests/.project.skel (diff)
The file was modified skeleton/skeleton.doc.user/pom.xml (diff)
The file was modified skeleton/skeleton.core/src/Activator.java (diff)
The file was modified skeleton/skeleton.doc.user/.project.skel (diff)
The file was modified skeleton/skeleton.core/META-INF/MANIFEST.MF (diff)
The file was modified skeleton/skeleton.doc.user/build.xml (diff)
The file was modified skeleton/skeleton.ui/src/package-info.java (diff)
The file was modified skeleton/skeleton.core.tests/META-INF/MANIFEST.MF (diff)
The file was modified skeleton/skeleton.feature/.project.skel (diff)
The file was modified skeleton/skeleton.core/src/package-info.java (diff)
The file was modified skeleton/skeleton.feature/feature.xml (diff)
The file was modified skeleton/skeleton.ui/src/Activator.java (diff)
The file was modified skeleton/skeleton.core/.project.skel (diff)
Commit 1ea94cb7db8a7b478c418becbc9c5a7e06c5c174 by Marco Miller
server: Make the EndpointConstants class final

Rather than adding a public constructor to it, which would fit less with
its current mandate. Fix the related sonarlint issue [1] below this way.

[1] Classes without "public" constructors should be "final" (java:S2974)

Change-Id: I8fc542454df7e3d872bfafdc68e56843f400cb27
Signed-off-by: Marco Miller <marco.miller@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/195385
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
The file was modified trace-server/org.eclipse.tracecompass.incubator.trace.server.jersey.rest.core/src/org/eclipse/tracecompass/incubator/internal/trace/server/jersey/rest/core/services/EndpointConstants.java (diff)