bsideup commented on issue #22: Fix ITTracingSession on Windows URL: https://github.com/apache/incubator-zipkin-brave-cassandra/issues/22#issuecomment-475520257 @adriancole `GenericContainer#withCopyFileToContainer` can be used to copy files from tests' host into a container. Then it is only a matter of having a reference to the file with classes using your build system. Here is an example of how I did it for Gradle: https://github.com/bsideup/javaagent-boilerplate/blob/57e30bd7504e683d8df9ab935bc3e3a169e72828/build.gradle#L45 https://github.com/bsideup/javaagent-boilerplate/blob/57e30bd7504e683d8df9ab935bc3e3a169e72828/src/test/java/support/GroovyTestApp.java#L13 There are also libraries which help to extract `.class` files from classloaders. I hope this helps!
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
