Hi 1) It looks to me that ant properties are not expanded in the jacoco:agent task, as in: <jacoco:agent property="jacocoagentvmparam" enabled=${dojacoco} destfile=${execfile} classdumpdir=${dumpdir} append="true" /> Am I wrong ?
2) I would like to have in my build file a default full target (chaining many generations/compilations/executions) not doing code coverage and a similar target doing code coverage. The <coverage> wrapper does not work on targets. I'd like not duplicate all java targets to have them wrapped and not wrapped by coverage or set and not set with the agent parameters, like: <target name="run_tpt"> <java failonerror="true" fork="true" classname=... classpath=...> </java> </target> <target name="run_tpt_cc"> <java failonerror="true" fork="true" classname=... classpath=...> <!-- jacocoagent vm arguments --> <jvmarg value="${jacocoagentvmparam}" /> </java> </target> Is there a simple way to do this ? Thanks in advance. -- 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 jacoco+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/f4265c7b-52a8-473d-b2a6-0874167d90b4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.