Details

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rhn-support-pnag Priyanka Nag
                Reporter:
                simkam Martin Simka
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: