Hi, I am running Emma in Hudson to get the code coverage. but unfortunately I got following errors: emma-instr:
[delete] Deleting directory c:\jobs\workspace\MYJOB\RPT\emma [delete] Deleting directory c:\jobs\workspace\MYJOB\RPT\junit [mkdir] Created dir: c:\jobs\workspace\MYJOB\RPT\emma [mkdir] Created dir: c:\jobs\workspace\MYJOB\RPT\emma\instr Warning: Reference emma.lib has not been set at runtime, but was found during build file parsing, attempting to resolve. Future versions of Ant may support referencing ids defined in non-executed targets. [instr] processing instrumentation path ... BUILD FAILED java.lang.IllegalStateException: class [com.myproject.main.Main$1] appears to be instrumented already at com.vladium.emma.instr.InstrVisitor.visit(InstrVisitor.java:172) at com.vladium.emma.instr.InstrVisitor.process(InstrVisitor.java:111) at com.vladium.emma.instr.InstrProcessorST.handleArchiveEntry(InstrProcessorST.java:223) following is the instr target: <emma enabled="true"> <instr instrpathref="classpath.main" destdir="${rpt.instr.dir}" metadatafile="${rpt.emma.dir}/metadata.emma" merge="true" > <filter value="-org.*,-javax.*,-com.icl.*"/> </instr> </emma> Could anyone what's the root cause? Thanks very much -- View this message in context: http://old.nabble.com/Emma-errors-in-Hudson-tp28037672p28037672.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org