i have grails plugin has it's own domain classes , default controllers. plugin works fine, can't seem import plugin domain classes service in main project.
//plugin domain package us.cscheduler class calendarentry{ //... }
if run loop through artefacts available in main project
//in main project crosscalendarservice def grailsapplication=holders.getgrailsapplication(); (cls in grailsapplication.domainclasses) { println cls.getfullname(); //does output 'us.cscheduler.calendarentry' }
i confirm have calendarentry artefact. when try use it
//in main crosscalendarservice def importentry(calendarentry ca)
i unable resolve class error. i've tried variety of import variations like
import us.cscheduler.calendarentry//unable resolve import grails.plugin.us.cscheduler.calendarentry//unable resolve import grails.plugin.cscheduler.calendarentry//unable resolve
but none of them seem path grails expecting.
Comments
Post a Comment