|
[
Permlink
| « Hide
]
Hoss Man added a comment - 05/Mar/08 10:22 PM
patch to limit the files we ask clover to instrument to those we (expect) to be in the allowed packages. solves the problem with contrib/db and any future code that may work like it.
Hoss Man made changes - 05/Mar/08 10:22 PM
Does the Clover license allow instrumenting non a.o packages, as in:
...per the README file i linked to, it allows instrumenting of those exact packages (hence the fileset - we'll probably never have "org.w3c.*" packages in our code base, but I include them for completeness. builds on previous patch to fix contrib/db (which i should note: also centralized teh clover "db" and reports so they were in one place even if you ran clover on individual contribs) to also fix it so the classpath for runing the contrib tests can find clover.
without this patch, contrib tests don't include ${java.class.path} (the core tests did) ... this was causing a problem because ${java.class.path} is where i had the clover jar and dependencies. i'm not sure if we want to change this to add an explicit "clover.path" property that people must set saying explicitly where they want the build system to look for clover ... that seems like a cleaner way to ensure the contrib tests don't include stuff in the junit classpath that they shouldn't - but it may not be a big deal considering the core tests have always worked this way. comments? Grant: still need clarification on your comments about hudson...
Hoss Man made changes - 14/Mar/08 07:08 AM
You expect me to remember something said that long ago?
I believe it has to do with where clover and other libraries are now located. Before they were in ant/lib, now they are elsewhere. When you commit these, I can look into that piece.
I was hoping seeing it again would jog your memory : ) i committed the changes to the build files, if the hudson problem was related to the classpath for clover this may magically solve that problem – if not, just makesure whatever directory clover is in gets added to the CLASSPATH before running ant. Committed revision 637344. assigning to you to track the hudson config fiddling
Hoss Man made changes - 15/Mar/08 03:19 AM
OK, I confirm that Clover reports are now being generated. Looks like we need to write some more tests!
Grant Ingersoll made changes - 17/Mar/08 12:36 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||