yurishkuro / opentracing-tutorial

A collection of tutorials for the OpenTracing API
Apache License 2.0
1.57k stars 404 forks source link

Run Opentracing Java tutorial on Windows #69

Closed sundar-cs closed 4 years ago

sundar-cs commented 4 years ago

Through the run.sh script all the Java samples are running well on Linux. Is there an equivalent run.bat for Windows environments (which sets up the classpath etc) ?

sundar-cs commented 4 years ago

This is being closed as it has been confirmed that on Windows too all the samples are working well (in all 3 flavors i.e. cygwin, command prompt and PowerShell) using plain java invocation itself, with classpath specifying target/dependency/ and snapshot.jar. For instance: java -cp "target/dependency/;target/java-opentracing-tutorial-1.0-SNAPSHOT.jar" lesson04.solution.Publisher server (cygwin and PowerShell) java -cp target\dependency*;target\java-opentracing-tutorial-1.0-SNAPSHOT.jar lesson04.solution.Publisher server (command prompt)