I'm trying to write a very simple plugin to add some convenience
methods to the request and response objects. I have something like
this in the plugin descriptor:
...
import testproject.UtilCategory
...
categories UtilCategory
...
Where the UtilCategory.groovy file is located in src/main/groovy/
testproject.
The problem is that when I try to run the application, I get the
following error:
WARNING: Failed startup of context
com.google.appengine.tools.development.DevAppEngineWebAppContext@975ded{/,/
home/dgaviola/gaelyk/testproject/war}
org.codehaus.groovy.control.MultipleCompilationErrorsException:
startup failed:
utilPlugin.groovy: 1: unable to resolve class testproject.UtilCategory
@ line 1, column 1.
import testproject.UtilCategory
So I guess that the groovy classes are not part of the classpath when
initializing the plugins. Is that correct? Am I doing something wrong?
Thanks!
Diego
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com
To show more options: http://groups.google.fr/group/gaelyk?hl=en
Thanks Guillaume!
Diego
> Twitter: @glaforge <http://twitter.com/glaforge>
> Google+:http://gplus.to/glaforge
You can always run ./gradlew build gaeRun to make sure or extend your
build script by this: gaeRun.dependsOn(compileGroovy).
Ben
Thanks!
Diego
On Dec 5, 9:18 am, Benjamin Muschko <benjamin.musc...@gmail.com>
wrote:
Ben