Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9379

Make the MetadataMojo look for scripts in the default locations

    XMLWordPrintableJSON

Details

    Description

      The MetadataMojo uses the src/main/scripts folder as the default value for the folder where it will scan for Sling scripts, however this is the default folder for scripts that normally will be precompiled. It would be nice if the mojo would also try to scan src/main/resources/javax.script, in order to reduce the configuration a developer must provide for generating capabilities for bundled scripts.

      In addition to that, the configuration should allow multiple source folders to be defined, so that bundles can provide both precompiled scripts and bundled scripts at the same time.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: