In a large project multiple android resources are used. It now happens that there are resources copied. I want to detect these copies using CPD. Currently I'm using the following command:
./run.sh cpd --language xml --minimum-tokens 20 --files $RES_FOLDER
Unfortunately most XML files contains at least a declaration line:
<?xml version="1.0" encoding="UTF-8" ?>
followed by some header:
<!--
-- Copyright 2017, all rights reserved.
-->
There is an option --skip-blocks-pattern
but it seems to be ignored.
Anybody any hints?