Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2313

add ant like file matching logic for the groovy-starter.conf file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1-rc-3
    • None
    • None

    Description

      currently if a "*" is used as for example in

      load ${groovy.home}/lib/*.jar

      the starter code will look for a .jar file in any subdirectory of ${groovy.home}/lib. This causes match IO activity and will cause higher startup times. If I want to extend my search to subdirectories in Ant, then I use the "**" expression. Projected to our configuration file this means it would look like this

      load ${groovy.home}/lib/**/*.jar
      

      With this the user has better control over if he wants to match a subdirectory as well or not.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            blackdrag Jochen Theodorou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: