ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Emma errors in Hudson
Date Fri, 26 Mar 2010 05:07:03 GMT
The error message points to a reference "emma.lib".
Have a look where this is in your buildfile
- where to you use it
- where to you set it


Jan 

> -----Ursprüngliche Nachricht-----
> Von: qq_nn [mailto:smile_hxy@163.com] 
> Gesendet: Freitag, 26. März 2010 03:41
> An: user@ant.apache.org
> Betreff: Emma errors in Hudson
> 
> 
> 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(Ins
> trProcessorST.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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message