Open ellemenno opened 11 years ago
Jennifer-fu I tried the latest CPD with that ObjCLanguage snapshot, and it didn't work. I had to go back to the old CPD. I want to use the latest CPD so I can get exclude files support... I have 20,000 lines of false positives.
Most easy way to fix it, copy paste the ObjCLanguage-0.0.8-SNAPSHOT.jar to latest PMD 5.1.3 /lib folder, so it will be auto included in to the java path, run pmd-5.1.2/bin/run.sh instead, since it need more dependency now, so the command is something like
./run.sh cpd --minimum-tokens 100 --language ObjectiveC --files xxxxxxxxx
When using PMD 5.0.0, I get the following error message for every file, and hence no output:
my CPD command line looks like this (added the logging flag temporarily to get above err msg):
Work-around: download and use PMD 4.2.6.