You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eric Wood <EW...@llbean.com> on 2008/03/12 15:33:46 UTC

Sourceforge CPD task

I'm looking for an easy way to detect cut-n-paste violations.  The CPD
task will write all cut-n-paste violations to an output file, but how do
I best check to see if there are violations?  I thought that I could
test the file to see if it is not zero length and seemed to recall a way
to check that condition, but I can not recall it or find it quickly. Can
somebody remind me if this capability exist and what the mechanism is?
 
Thanks, Eric

Re: Sourceforge CPD task

Posted by Matt Benson <gu...@yahoo.com>.
--- Eric Wood <EW...@llbean.com> wrote:

> I'm looking for an easy way to detect cut-n-paste
> violations.  The CPD
> task will write all cut-n-paste violations to an
> output file, but how do
> I best check to see if there are violations?  I
> thought that I could
> test the file to see if it is not zero length and
> seemed to recall a way
> to check that condition, but I can not recall it or
> find it quickly. Can
> somebody remind me if this capability exist and what
> the mechanism is?

length task/condition, available since (IIRC) Ant
1.6.3.

-Matt

>  
> Thanks, Eric
> 



      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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