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

Support a groovy .classes directory (like that for a webpps directory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0
    • None
    • None
    • n/a

    Description

      Within a web application, you can store compliled java classes not only in jars in a lib directory, but also in a classes directory. I am proposing that groovy support the same structure, essentially sourcing (including in the classpath) anything in and under ~/.groovy/classes/*.groovy. Users would still have to import properly.

      This would help encourage good programming practice w/in groovy - i.e., getting people to make lots of small classes instead of gigantic functional scripts. JARing, while cool, doesn't really fit with a scripting language approach of just cranking text files. You can't just pop into a jar and edit it.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: