brett 2004/05/26 18:14:12 Modified: jcoverage plugin.jelly jcoverage/xdocs changes.xml Log: copy entire classes directory for instrumentation Revision Changes Path 1.12 +7 -6 maven-plugins/jcoverage/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven-plugins/jcoverage/plugin.jelly,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- plugin.jelly 26 May 2004 23:51:31 -0000 1.11 +++ plugin.jelly 27 May 2004 01:14:12 -0000 1.12 @@ -130,16 +130,17 @@ </ant:classpath> </instrument> + <ant:copy todir="${maven.jcoverage.instrumentation}"> + <ant:fileset dir="${maven.build.dest}"> + <ant:exclude name="**/*.class" /> + <ant:exclude name="${maven.jcoverage.instrumentation.excludes}" /> + </ant:fileset> + </ant:copy> + </j:catch> <j:if test="${ex != null}"> <log:error>${ex}</log:error> <ant:fail message="${ex}" /> - </j:if> - - <j:if test="${!pom.build.resources.isEmpty()}"> - <maven:copy-resources - resources="${pom.build.resources}" - todir="${maven.jcoverage.instrumentation}"/> </j:if> </goal> 1.15 +1 -0 maven-plugins/jcoverage/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/jcoverage/xdocs/changes.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- changes.xml 26 May 2004 23:51:31 -0000 1.14 +++ changes.xml 27 May 2004 01:14:12 -0000 1.15 @@ -26,6 +26,7 @@ <body> <release version="1.0.5-SNAPSHOT" date="in CVS"> <action dev="brett" type="fix" issue="MPJCOVERAGE-1">Handle multiple source directories correctly</action> + <action dev="brett" type="fix">Copy all of maven.build.dest, excluding the class files, into the instrumentation directory, as some people hook into the resources copying themselves without adding them to the POM</action> </release> <release version="1.0.4" date="2004-05-15"> <action dev="evenisse" type="add" issue="MPJCOVERAGE-7">Custom stylesheet for jcoverage plugin.</action>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]