Add the suffixes you're looking for by calling addSuffix(). You must provide at least one suffix, or the findConfigs() method will fail.
The ConfigFinder also understands the convention of versioning your configuration files by storing them in subfolders named v<#>dot<#>. For instance, for a versioned schema you might have schema/v0dot1, schema/v1dot23, schema/v11dot3dot1 which would represent schemas at version 0.1, 1.23 and 11.3.1 respectively.
NOTE: as indicated, the finder assumes that you're working in an Eclipse environment where you have a directory structure like: project/bin project/src. The finder will see the project/bin on the java.class.path and then try to find the src directory in the same location.
If your development environment doesn't conform to this arrangement, you can derive your own class, or, manually specify the source directories to search by priming the ConfigFinder with calls to addSourceDirectory().
|
|
|
|
|
|