|
Hi Eric, Thanks for your patch. I'd like to apply it but I would like to write a test for it to reproduce the pb and to have some regression test available. Do you think you could provide a minimal Maven project that reproduces the pb? Thanks If you invoke maven clover:on jar:install, Thanks Eric. You should not call clover:on twice. This will lead to unexpected results as it's not a valid use case. You should always call clover:off after calling clover:on. I'd suggest to add your generated source dir to the maven.compile.src.set ref first and then only call clover:on. I am using clover with the multiproject plugin. If I add the generate directory maven.compile.src.set before calling clover:on, I get a compile error for the subprojects that don't have the generate the directory: Unable to obtain goal [multiproject:install-callback] – /home/ericlap/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac> srcdir "/vobs/oam_platform/base_datamgmt/persistence/target/generate" does not exist! I tried running clover:off before rerunning clover:on without any success. Once I have run clover:on once on a subproject, the fileset is fixed. Applied thanks. I have applied it in clover:off rather than clover:on because clover:off must be called before calling clover:on again. Let me know if it works for you. |
||||||||||||||||||||||||||||||||||||||||||||
It seems that resetting the property variable to null before invoking the ant:pathconvert solves the problem.