Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-709

Possible problem with Groovy detection when using Groovy configuration

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 1.0.6
    • logback-core
    • None
    • Windows 7, Java 1.6, building with Gradle 1.0-rc3

    Description

      When not specifying Groovy dependency and starting application with jettyRun, logback will report unambiguous "GroovyCastException". However, "Groovy classes are not available on the class path." is expected. More info:

      http://stackoverflow.com/questions/10995414/unable-to-use-logback-groovy-but-logback-xml-works/

      I attached a simple project that demonstrates this problem. It requires Gradle installed. To run it, in console type "gradle jettyRun" from the project folder.

      Attachments

        1. foo.zip
          14 kB
        2. test.7z
          49 kB

        Activity

          People

            logback-dev Logback dev list
            infeligo Mihhail Verhovtsov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: