Grails3 - Artefacts

17 views
Skip to first unread message

Sergio Michels

unread,
May 22, 2016, 12:59:33 PM5/22/16
to grails-de...@googlegroups.com
Is there a new way to create artefacts in Grails 3? I'm migrating one plugin that uses ArtefactHandlerAdapter.

This class moved from org.codehaus.groovy.grails.commons.ArtefactHandlerAdapter to grails.core, but DefaultGrailsApplication is looking for org.codehaus.groovy.grails.commons.ArtefactHandler instances to load Artefacts.

Since the variable name is "legacyArtefactHandlers" I'm assuming that there's a new way to do it. Am I correct?

Souldn't ArtefactHandlerAdapter be in the old package, and referencing the old interface?


--
Sérgio Michels

Jeff Scott Brown

unread,
May 22, 2016, 7:34:37 PM5/22/16
to grails-de...@googlegroups.com
See https://github.com/grails-plugins/grails-quartz/blob/984c99c58b2051737257d05638972684179eac19/src/main/groovy/grails/plugins/quartz/JobArtefactHandler.groovy for an example.



JSB


Jeff Scott Brown
Principal Software Engineer
Grails Development Team
Object Computing Inc.
http://www.ociweb.com/

Autism Strikes 1 in 166
Find The Cause ~ Find The Cure
http://www.autismspeaks.org/

Reply all
Reply to author
Forward
0 new messages