>
> Question 1:
>
> I have two groovy scripts:
>
> api.model.Utility
>
> and
>
> api.model.apiDispactcher
>
> Inside apiDispatcher I have a routine that creates the Utility object:
>
> def util = new Utility()
>
>  And calls a method on the Utility class.
>
> What I have found is that with that line in my code when I try to save
> api.model.apiDispatcher I get the error:
>
> "api.model.apiDispatcher should declare at least one class
> named apiDispatcher"
>
> If I comment it out, the script will save (but not work):
>
> //def util = new Utility()
>
> Question 2:
>
> Has anyone else had problems with groovy scripts refreshing?  It seems like
> I need to restart Magnolia every time I make an edit.
>
> Any help is appreciated.
>
> Thanks,
> Mark
>


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to