zipkin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-zipkin-brave-cassandra] bsideup commented on issue #22: Fix ITTracingSession on Windows
Date Fri, 22 Mar 2019 07:30:02 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org


Mime
View raw message