Griffon
  1. Griffon
  2. GRIFFON-454

Quartz plugin won't install unless Spring plugin is installed first

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.5-rc1
    • Fix Version/s: 0.9.5-rc2
    • Component/s: plugins
    • Environment:
      WinXP SP3, newly created app
    • Number of attachments :
      0

      Description

      Quartz plugin tries to install Spring v0.5 plugin, installation fails:

      Adding SpringGriffonAddon to Builder.groovy
      [mkdir] Created dir: C:\xxxxxx\xxxxxx\algo\src\spring
      + spring-0.5 from griffon-legacy [FAILED]
      No such property: config for class: Script1
      [delete] Deleting directory C:\Documents and Settings\xxxxxx\.griffon\0.9.5-rc1\projects\algo\plugins\spring-0.5
      The following plugins failed to be installed due to missing dependencies or a postinstall error:
      + spring-0.5 from griffon-legacy

      Installation of C:\DOCUME~1\xxxxxx\LOCALS~1\Temp\griffon-quartz-0.1-1409428498543620085.zip aborted.

        Activity

        Hide
        Andres Almiray added a comment -

        Temporary workaround: install the latest version of the spring plugin (0.9) first, then install quartz.
        I'll release an updated version in a few hours.

        Show
        Andres Almiray added a comment - Temporary workaround: install the latest version of the spring plugin (0.9) first, then install quartz. I'll release an updated version in a few hours.
        Hide
        Edo added a comment -

        Hmmmm, funny(notreally), I was NOT originally using the Quartz plugin, the Upgrade script cleared my BuildConfig dependencies and I assumed I was using the plugin when I started getting compilation errors and the BuildConfig dependencies weren't there...

        Even after installing the plugin tho, classes under src/main were unable to resolve Quartz classes.

        Show
        Edo added a comment - Hmmmm, funny(notreally), I was NOT originally using the Quartz plugin, the Upgrade script cleared my BuildConfig dependencies and I assumed I was using the plugin when I started getting compilation errors and the BuildConfig dependencies weren't there... Even after installing the plugin tho, classes under src/main were unable to resolve Quartz classes.
        Hide
        Andres Almiray added a comment -

        Ok, so using quartz as a direct dependency works but using the plugin does not?
        I think there's a problem with automatic loading of dependencies in the case of the Quartz plugin due to an AST transformation used by the plugin itself. If true we'll need a new release of griffon-cli before Quartz 0.2 can be released.

        Show
        Andres Almiray added a comment - Ok, so using quartz as a direct dependency works but using the plugin does not? I think there's a problem with automatic loading of dependencies in the case of the Quartz plugin due to an AST transformation used by the plugin itself. If true we'll need a new release of griffon-cli before Quartz 0.2 can be released.
        Hide
        Edo added a comment -

        Correct, direct dependency is working no problem. Another breaking change I experienced was Quartz refusing to read quartz.properties from anywhere but ..griffon-app/resources.

        Show
        Edo added a comment - Correct, direct dependency is working no problem. Another breaking change I experienced was Quartz refusing to read quartz.properties from anywhere but ..griffon-app/resources.
        Hide
        Andres Almiray added a comment -

        Fixed with https://github.com/griffon/griffon/commit/45fda3e3b467f228aa783e2690a3f5f464d00d34

        and

        https://github.com/griffon/griffon-quartz-plugin

        Please wait for new releases of both Griffon core and the Quartz plugin.

        Show
        Andres Almiray added a comment - Fixed with https://github.com/griffon/griffon/commit/45fda3e3b467f228aa783e2690a3f5f464d00d34 and https://github.com/griffon/griffon-quartz-plugin Please wait for new releases of both Griffon core and the Quartz plugin.
        Hide
        Edo added a comment -

        JavaFX classes are not being resolved in views either.

        Show
        Edo added a comment - JavaFX classes are not being resolved in views either.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Edo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: