spud-grails / spud-cms

Spud Grails CMS Module with Page, Menu, and Snippet Management
18 stars 6 forks source link

Spud CMS 0.7.2 build failure #12

Open ejaz-ahmed opened 8 years ago

ejaz-ahmed commented 8 years ago

Hi,

I've added spud cms dependency in my blank application as below:

compile "org.grails.plugins:spud-cms:0.7.2"

I've got following errors during compilation stage

grails> run-app
| Compiling 162 source files
Note: /var/eejaz/IdeaProjects/spud_demo1/target/work/plugins/scaffolding-2.1.2/src/java/org/codehaus/groovy/grails/scaffolding/AbstractGrailsTemplateGenerator.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
  [groovyc] /var/eejaz/IdeaProjects/spud_demo1/target/work/plugins/retina-tag-1.1.0/grails-app/taglib/retinatag/RetinaTagLib.groovy: 6: unable to resolve class AssetsTagLib 
  [groovyc]  @ line 6, column 1.
  [groovyc]    class RetinaTagLib extends AssetsTagLib {
  [groovyc]    ^
  [groovyc] 
  [groovyc] 1 error
| Compiling 162 source files.
| Error Compilation error: startup failed:
/var/eejaz/IdeaProjects/spud_demo1/target/work/plugins/retina-tag-1.1.0/grails-app/taglib/retinatag/RetinaTagLib.groovy: 6: unable to resolve class AssetsTagLib 
 @ line 6, column 1.
   class RetinaTagLib extends AssetsTagLib {
   ^

1 error
| Error Error running script run-app: No such property: e for class: _Events (Use --stacktrace to see the full trace)
grails> 
ejaz-ahmed commented 8 years ago

This issue appears in grails 2.5.2. It does not appear in grails 2.4.3.

vonovak commented 8 years ago

Also in 2.5.3, but the fix is simple: use compile "org.grails.plugins:retina-tag:2.1.1" in your buildconfig, so that the newer version of retina-tag plugin gets picked up.

davydotcom commented 8 years ago

ah yes forgot about that one. need to update it

vonovak commented 8 years ago

yup, for some reason the spud_cms is referencing an old version of spud_core..