Hello, dear developers.

I have a .jar file of the compiler that I want to instrument by passing it 
one program or another. How can I do this *programmatically*?

I saw your instrumentation API example "CoreTutorial.java", which 
instruments, executes and analyzes a single target class. 
But it remains unclear how to do the part related to instrumentation and 
obtaining the result, 
if you need to execute a command like this programmatically, and preferably 
not writing the result to a file, but immediately passing it to the report 
generation module:

java -javaagent:pathToJacocoAgent=destfile=pathToJacocoExec -jar 
> pathToCompiler.jar fileForCompiler


I would be grateful if you would help with this.

Thanks for your work.

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/933ae953-3fd6-4561-8c33-88915cdff814%40googlegroups.com.

Reply via email to