});
directoryScanner.scan();
String[] fileNames = directoryScanner.getIncludedFiles();
for (String fileName : fileNames) {
fileName = _normalizeFileName(fileName);
<BUG>if (fileName.endsWith(".action")) {
_actionFileNames.add(fileName);
_actionNames.add(_getName(fileName));
</BUG>
_actionRootElements.put(fileName, _getRootElement(fileName));

});
directoryScanner.scan();
String[] fileNames = directoryScanner.getIncludedFiles();
for (String fileName : fileNames) {
fileName = _normalizeFileName(fileName);
if (fileName.endsWith(".action")) {
String actionName = _getName(fileName);
if (_actionNames.contains(actionName)) {
throw new Exception(
"Duplicate name " + actionName + " at " + fileName);
