-
Bug
-
Resolution: Done
-
Trivial
-
None
-
None
Development Guide -> 3. Class loading and modules -> 3.6.2. Programmatically Iterate Resources in a Deployment
Example: Find all files named "messages.properties" in your deployment and imports
ModuleClassLoader moduleClassLoader = (ModuleClassLoader) TargetClass.class.getClassLoader();
Module module = moduleClassLoader.getModule();
Iterator<Resource> moduleResources = module.iterateResources(PathFilters.match("**/message.properties));
^ --- missing "
**/message.properties should be enclosed in ", but closing " is missing
n_2117183_development-guide_version_7.0.beta_edition_1.0_release_0-revision_7644143