Re: CPD using Java Call

2008-08-06 Thread Rod Mackenzie
On 06/08/2008, Tom Holmes Jr. <[EMAIL PROTECTED]> wrote: > > We tried the CPD (from PMD) ant call, but because we have so many classes, > we get an outofmemory exception. The PMD documentation suggests increasing Ants memory, have a look at the end of following page for examples http://pmd.sourc

CPD using Java Call

2008-08-06 Thread Tom Holmes Jr.
We tried the CPD (from PMD) ant call, but because we have so many classes, we get an outofmemory exception. We can do the java command-line which works fine and dumps the output to the command-line: java -Xmx384m -classpath ../../.ant/lib/pmd-4.2.2.jar net.sourceforge.pmd.cpd.CPD --minimum-to