Welcome to the Linux Foundation Forum!

Typo on "Exercise 2: Code-Based Instrumentation for Java & Python"

Text says:

Now run the newly built JAR including the agent:

java -javaagent:./opentelemetry-javaagent.jar -jar target/todobackend-automatic-0.0.1-SNAPSHOT.jar

Should say:

java -javaagent:./opentelemetry-javaagent.jar -jar target/todobackend-0.0.1-SNAPSHOT.jar

... unless I am completely missing something, there is no todobackend-automatic-0.0.1-SNAPSHOT.jar artifact, just a recompiled todobackend-0.0.1-SNAPSHOT.jar artifact.

Comments

  • fazlur.khan
    fazlur.khan Posts: 64

    Hello @mhite ,

    When we look at the pom.xml file used by Maven to build, we see the final name is todobackend-0.0.1-SNAPSHOT.jar.

    So Yes, according to xml, there is a typo in the name, I will update the author/maintainers to update the course accordingly. Thank you for flagging it.

    Contents from pom.xml:

    0.0.1-SNAPSHOT
    todobackend-${version}

  • fcioanca
    fcioanca Posts: 2,240

    The typo was fixed. Thank you for flagging it.

Categories

Upcoming Training