From: SourceForge.net <no...@so...> - 2007-10-17 17:15:36
|
Feature Requests item #1815191, was opened at 2007-10-17 10:53 Message generated for change (Comment added) made by lewijw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=1815191&group_id=130558 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Jeff MAURY (jeffmaury) >Assigned to: John Lewis (lewijw) Summary: Cobertura should support JAR, WAR, RAR and EAR files Initial Comment: It would be nice if Cobertura should be able to work on JAR, WAR, ... files instead of only directories of classes. It would allow a better use and integration (Maven and Cargo for example) ---------------------------------------------------------------------- >Comment By: John Lewis (lewijw) Date: 2007-10-17 11:56 Message: Logged In: YES user_id=1031161 Originator: NO This is already possible. Do something like this: <cobertura-instrument datafile="${basedir}/cobertura.ser" todir="${instrumented.dir}"> <includeClasses regex="test.*" /> <excludeClasses regex="test.*.B" /> <excludeClasses regex=".*Test*" /> <fileset dir="${tmp.dir}"> <include name="app.war" /> </fileset> </cobertura-instrument> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=720018&aid=1815191&group_id=130558 |