1<?xml version="1.0" ?> 2<RBFileScanner name="RBManager Scanner" filename="rbmanager_scanner.xml"> 3 <FileRules> 4 <!-- FileRules can have attributes starts_with, ends_with, and contains --> 5 <FileRule name="Java File" ends_with=".java" /> 6 <FileRule name="XSL File" ends_with=".xsl" /> 7 </FileRules> 8 <ParseRules> 9 <!-- ParseRules can have attributes follows and precedes --> 10 <ParseRule name="Java static resource" follows="Resources.getTranslation("" precedes=""" /> 11 </ParseRules> 12 <Scan> 13 <Directory location="." recurse_directories="true"> 14 <Rules> 15 <ApplyFileRule name="Java File"> 16 <ApplyParseRule name="Java static resource" /> 17 </ApplyFileRule> 18 </Rules> 19 </Directory> 20 </Scan> 21</RBFileScanner>