Cobertura, by analyzing the bytecode, can tell which classes are interfaces. 
And since interfaces have no executable code, there is nothing to "cover" with 
a test case. That is why these interface classes are not copied to your 
instrumented directory by the task <cobertura-instrument>. 

So if you really need these classes to be copied, you have to find another way 
around. 


-cji 


-----Original Message-----
From: Bret Kumler [mailto:[EMAIL PROTECTED]
Sent: Friday, September 08, 2006 7:42 AM
To: Ant Users List
Subject: RE: Question
Importance: Low


Sorry, I forgot to mention one thing, when I sync to source sometimes
there's new interfaces.

These interfaces end up missing in the instrumented classes.

I'm trying to avoid adding a new <copy> for each interface.

-----Original Message-----
From: Chun Ji [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 07, 2006 11:58 AM
To: Ant Users List; Bret Kumler
Subject: RE: Question


If you just want to copy your interface classes to your "instrumented"
directory, it should be very easy for ant to handle. I think a <copy>
should be enough. 

If you want Ant to analysis the test coverage of your interface files, I
have no idea. 

-cji 
   

-----Original Message-----
From: Bret Kumler [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 07, 2006 11:46 AM
To: Ant Users List
Subject: Question
Importance: Low


Is there a way in Ant to have it look at the contents of a file?

I'm using Cobertura for code coverage and they ignore interfaces.

I need to copy the interfaces to the classes directory for deployment.

Thanks.


This e-mail message and any attachments may contain private,
confidential, proprietary or privileged material of GoldenGate Software,
Inc. that is for the sole use of the intended recipient(s) of this
e-mail message.  Any review, copying or distribution or other use of
this e-mail message or any attachments hereto by anyone other than the
intended recipient(s) is strictly prohibited.  If you are not the
intended recipient(s) of this e-mail message, please contact GoldenGate
Software, Inc. (415-777-0200) immediately and permanently delete the
original e-mail message and any copies of this e-mail message and all
attachments, if any.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail message and any attachments may contain private, confidential, 
proprietary or privileged material of GoldenGate Software, Inc. that is for the 
sole use of the intended recipient(s) of this e-mail message.  Any review, 
copying or distribution or other use of this e-mail message or any attachments 
hereto by anyone other than the intended recipient(s) is strictly prohibited.  
If you are not the intended recipient(s) of this e-mail message, please contact 
GoldenGate Software, Inc. (415-777-0200) immediately and permanently delete the 
original e-mail message and any copies of this e-mail message and all 
attachments, if any.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to