java - How can I add JaCoCoverage to my Ant build process? -


i have java project in netbeans 7.4. if want run code coverage report using jacocoverage, can right click on project name , select test jacocoverage context menu.

i want trigger same process ant build.xml file. can add ant command make happen? if so, can direct resulting report directory of choice?

something maybe...

<target name="-post-jar">   <!-- run jacocoverage here...-->   <exec executable="jacocoverage"/> </target> 

jacoco has set of ant tasks make straightforward. see documentation.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -