|
Hi all,
I have just built a plug to put ZK support into grails app, you can check out this plugin from (http://flyisland.blogbus.com/logs/10570832.html). regards, island -- ----------------------------------------------------------------------------------------- 空中的一小块陆地 E-mail : [hidden email] Blog : http://flyisland.blogbus.com/ RSS : http://feeds.feedburner.com/flyisland ----------------------------------------------------------------------------------------- |
|
many Thanks
will test tonight. Tried the same in the past but no success. regards Andreas
|
|
In reply to this post by flyisland
Looks interesting, you may want to consider documenting it at
http://grails.org/Plugins Maybe you would also like to host it at the Grails central repo: http://plugins.grails.org/ Regards On 10/31/07, flyisland <[hidden email]> wrote: > Hi all, > > I have just built a plug to put ZK support into grails app, you can check > out this plugin from > (http://flyisland.blogbus.com/logs/10570832.html). > > regards, > island > -- > ----------------------------------------------------------------------------------------- > 空中的一小块陆地 > E-mail : [hidden email] > Blog : http://flyisland.blogbus.com/ > RSS : http://feeds.feedburner.com/flyisland > ----------------------------------------------------------------------------------------- -- Graeme Rocher Grails Project Lead G2One, Inc. Chief Technology Officer http://www.g2one.com |
|
In reply to this post by flyisland
many Thank's
but when run "grails install-plugin path_to\11938117910.zip" get this error "grails Plugin xxxxx was not found in repository type grails list-plugins" ?? 2007/10/31, flyisland <[hidden email]>: > Hi all, > > I have just built a plug to put ZK support into grails app, you can check > out this plugin from > (http://flyisland.blogbus.com/logs/10570832.html). > > regards, > island > -- > ----------------------------------------------------------------------------------------- > 空中的一小块陆地 > E-mail : [hidden email] > Blog : http://flyisland.blogbus.com/ > RSS : http://feeds.feedburner.com/flyisland > ----------------------------------------------------------------------------------------- -- Alberto Gallen alberto.gallen (algarroba) gmail (punto) com Tfno 654.376600 |
|
change your path to have / instead of \
On 10/31/07, Alberto Gallen <[hidden email]> wrote: > many Thank's > > but when run "grails install-plugin path_to\11938117910.zip" > > get this error > > "grails Plugin xxxxx was not found in repository type grails list-plugins" > > ?? > > > 2007/10/31, flyisland <[hidden email]>: > > Hi all, > > > > I have just built a plug to put ZK support into grails app, you can check > > out this plugin from > > (http://flyisland.blogbus.com/logs/10570832.html). > > > > regards, > > island > > -- > > ----------------------------------------------------------------------------------------- > > 空中的一小块陆地 > > E-mail : [hidden email] > > Blog : http://flyisland.blogbus.com/ > > RSS : http://feeds.feedburner.com/flyisland > > ----------------------------------------------------------------------------------------- > > > -- > Alberto Gallen > alberto.gallen (algarroba) gmail (punto) com > Tfno 654.376600 > -- Thanks, Alex. |
|
I can't install the plugin either. I placed the zip file in the
project directory and typed: grails install-plugin 11938117910.zip But for some reason grails refuses to install the plugin. Instead is connects to the plugin repo and fails. Apparently it recognizes the file name as a plugin name. Steven On 10/31/07, Alex Shneyderman <[hidden email]> wrote: > change your path to have / instead of \ > > On 10/31/07, Alberto Gallen <[hidden email]> wrote: > > many Thank's > > > > but when run "grails install-plugin path_to\11938117910.zip" > > > > get this error > > > > "grails Plugin xxxxx was not found in repository type grails list-plugins" > > > > ?? > > > > > > 2007/10/31, flyisland <[hidden email]>: > > > Hi all, > > > > > > I have just built a plug to put ZK support into grails app, you can check > > > out this plugin from > > > (http://flyisland.blogbus.com/logs/10570832.html). > > > > > > regards, > > > island > > > -- > > > ----------------------------------------------------------------------------------------- > > > 空中的一小块陆地 > > > E-mail : [hidden email] > > > Blog : http://flyisland.blogbus.com/ > > > RSS : http://feeds.feedburner.com/flyisland > > > ----------------------------------------------------------------------------------------- > > > > > > -- > > Alberto Gallen > > alberto.gallen (algarroba) gmail (punto) com > > Tfno 654.376600 > > > > > -- > Thanks, > Alex. > |
|
In reply to this post by a.shneyderman
With "/" insthead "\" it does not work either
sorry, any ideas 2007/10/31, Alex Shneyderman <[hidden email]>: > change your path to have / instead of \ > > On 10/31/07, Alberto Gallen <[hidden email]> wrote: > > many Thank's > > > > but when run "grails install-plugin path_to\11938117910.zip" > > > > get this error > > > > "grails Plugin xxxxx was not found in repository type grails list-plugins" > > > > ?? > > > > > > 2007/10/31, flyisland <[hidden email]>: > > > Hi all, > > > > > > I have just built a plug to put ZK support into grails app, you can check > > > out this plugin from > > > (http://flyisland.blogbus.com/logs/10570832.html). > > > > > > regards, > > > island > > > -- > > > ----------------------------------------------------------------------------------------- > > > 空中的一小块陆地 > > > E-mail : [hidden email] > > > Blog : http://flyisland.blogbus.com/ > > > RSS : http://feeds.feedburner.com/flyisland > > > ----------------------------------------------------------------------------------------- > > > > > > -- > > Alberto Gallen > > alberto.gallen (algarroba) gmail (punto) com > > Tfno 654.376600 > > > > > -- > Thanks, > Alex. > -- Alberto Gallen alberto.gallen (algarroba) gmail (punto) com Tfno 654.376600 |
|
Rename plugin distribution file to "grails-*.zip", in this case it could be "grails-zk-0.1.zip".
Grails will only try to install plugin from a local zip file if this file is named by convention: 1) starts with "grails-" 2) ends with ".zip" 3) all text between "grails-" and ".zip" will be considered as plugin's name Cheers
2007/10/31, Alberto Gallen <[hidden email]>: With "/" insthead "\" it does not work either -- Sergey Nebolsin Principal Software Engineer at ProPhotos.RU |
|
sorry, my blog server change the file name automatically, the correct name of this plug-in should be "grails-zkplugin-0.1.zip"
On 10/31/07, Sergey Nebolsin
<[hidden email]> wrote: Rename plugin distribution file to "grails-*.zip", in this case it could be " grails-zk-0.1.zip". -- ----------------------------------------------------------------------------------------- 空中的一小块陆地 E-mail : [hidden email] Blog : http://flyisland.blogbus.com/ RSS : http://feeds.feedburner.com/flyisland ----------------------------------------------------------------------------------------- |
|
I have the strangest problem with the ZK plugin. When I start grails
with run-app I get this error: C:\test3\zk-test>grails -Dserver.port=8082 run-app Listening for transport dt_socket at address: 5005 Welcome to Grails 1.0-RC1 - http://grails.org/ Licensed under Apache Standard License 2.0 Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1 Base Directory: C:\test3\zk-test Environment set to development Running script C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\RunApp.groovy Configured HTTP proxy: schengenproxy:8080 [mkdir] Created dir: C:\Documents and Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes Compiling 5 source files to C:\Documents and Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes [copy] Copying 1 file to C:\Documents and Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes [copy] Copying 1 file to C:\Documents and Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes Loading with installed plug-ins: ["ZkpluginGrailsPlugin"] ... [copy] Copying 1 file to C:\Documents and Settings\Administrator\.grails\1.0-RC1\projects\zk-test Running Grails application.. 2007-10-31 17:26:22.639::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2007-10-31 17:26:22.749::INFO: jetty-6.1.4 2007-10-31 17:26:23.436:/zk-test:INFO: Set web app root system property: 'zk-test' = [C:\test3\zk-test\web-app\] 2007-10-31 17:26:23.436:/zk-test:INFO: Initializing Log4J from [C:\test3\zk-test\web-app\WEB-INF\classes\log4j.properti es] 2007-10-31 17:26:23.436:/zk-test:INFO: Initializing Spring root WebApplicationContext [3906] commons.GrailsConfigUtils [GrailsContextLoader] Grails application loaded. 31-okt-2007 17:26:30 org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 WARNING: Replicated language: xhtml, overriden by [LanguageDefinition: xhtml] 31-okt-2007 17:26:30 org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 WARNING: Replicated language: xml, overriden by [LanguageDefinition: xml] 31-okt-2007 17:26:30 org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 WARNING: Replicated language: xul/html, overriden by [LanguageDefinition: xul/html] 31-okt-2007 17:26:30 org.zkoss.util.resource.ClassLocator getDependentXMLResources:107 WARNING: Replicate resource: zkmax Overwrite jar:file:/C:/test3/zk-test/./plugins/zk-0.1/lib/zkmax.jar!/metainfo/zk/lang-addon.xml with jar:file:C:/test3/zk-test/plugins/zk-0.1/lib/zkmax.jar!/metainfo/zk/lang-addon.xml 31-okt-2007 17:26:30 org.zkoss.util.resource.ClassLocator getDependentXMLResources:107 WARNING: Replicate resource: databind Overwrite jar:file:/C:/test3/zk-test/./plugins/zk-0.1/lib/zkplus.jar!/metainfo/zk/lang-addon.xml with jar:file:C:/test3/zk-test/plugins/zk-0.1/lib/zkplus.jar!/metainfo/zk/lang-addon.xml 2007-10-31 17:26:31.088:/zk-test:INFO: Initializing Spring FrameworkServlet 'grails' 2007-10-31 17:26:31.151::WARN: failed grails javax.servlet.ServletException: org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodExcepti on: No signature of method: Book.save() is applicable for argument types: () values: {} at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:617) at org.mortbay.jetty.servlet.Context.startContext(Context.java:139) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) at org.mortbay.jetty.Server.doStart(Server.java:220) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) The strange this that when I remove the offending line in the Bootstrap class it still causes this error after restarting. Steven On 10/31/07, flyisland <[hidden email]> wrote: > sorry, my blog server change the file name automatically, the correct name > of this plug-in should be "grails-zkplugin-0.1.zip" > > > On 10/31/07, Sergey Nebolsin <[hidden email]> wrote: > > Rename plugin distribution file to "grails-*.zip", in this case it could > be " grails-zk-0.1.zip". > > > > Grails will only try to install plugin from a local zip file if this file > is named by convention: > > 1) starts with "grails-" > > 2) ends with ".zip" > > 3) all text between "grails-" and ".zip" will be considered as plugin's > name > > > > Cheers > > > > > > 2007/10/31, Alberto Gallen <[hidden email]>: > > > > > With "/" insthead "\" it does not work either > > > > > > sorry, any ideas > > > > > > > > > 2007/10/31, Alex Shneyderman < [hidden email]>: > > > > change your path to have / instead of \ > > > > > > > > On 10/31/07, Alberto Gallen <[hidden email]> wrote: > > > > > many Thank's > > > > > > > > > > but when run "grails install-plugin > path_to\11938117910.zip" > > > > > > > > > > get this error > > > > > > > > > > "grails Plugin xxxxx was not found in repository type grails > list-plugins" > > > > > > > > > > ?? > > > > > > > > > > > > > > > 2007/10/31, flyisland < [hidden email]>: > > > > > > Hi all, > > > > > > > > > > > > I have just built a plug to put ZK support into grails app, you > can check > > > > > > out this plugin from > > > > > > > (http://flyisland.blogbus.com/logs/10570832.html). > > > > > > > > > > > > regards, > > > > > > island > > > > > > -- > > > > > > > ----------------------------------------------------------------------------------------- > > > > > > 空中的一小块陆地 > > > > > > E-mail : [hidden email] > > > > > > Blog : http://flyisland.blogbus.com/ > > > > > > RSS : http://feeds.feedburner.com/flyisland > > > > > > > ----------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > -- > > > > > Alberto Gallen > > > > > alberto.gallen (algarroba) gmail (punto) com > > > > > Tfno 654.376600 > > > > > > > > > > > > > > > > > -- > > > > Thanks, > > > > Alex. > > > > > > > > > > > > > -- > > > Alberto Gallen > > > alberto.gallen (algarroba) gmail (punto) com > > > Tfno 654.376600 > > > > > > > > > > > -- > > Sergey Nebolsin > > Principal Software Engineer at ProPhotos.RU > > > > -- > ----------------------------------------------------------------------------------------- > 空中的一小块陆地 > E-mail : [hidden email] > Blog : http://flyisland.blogbus.com/ > RSS : http://feeds.feedburner.com/flyisland > ----------------------------------------------------------------------------------------- |
|
Steven,
Are the lines in your BootStrap the same as those in the tutorial? And do you have the domain classes? If you BootStrap is different than the tutorial, could you post the code? thx timo On 10/31/07, Steven Devijver <[hidden email]> wrote: I have the strangest problem with the ZK plugin. When I start grails |
|
I created the Book class myself.
I've created several new project with the ZK plugin v0.1 and 0.2. I invariably get this error when I connect with a debugger to the grails run-app process. Afterwards I consistently get the same error in that project, even when the debugger is not connected. I can repeat this process: - create a new grails project - install the plugin - create a Book class, modify Bootstrap class - add the list.zul file - run-app, works fine, can restart as many times as I want - run-app, connect with debugger, bang Very strange Steven On 10/31/07, Stand Trooper <[hidden email]> wrote: > Steven, > > Are the lines in your BootStrap the same as those in the tutorial? And > do you have the domain classes? > > If you BootStrap is different than the tutorial, could you post the > code? > > thx > > timo > > > On 10/31/07, Steven Devijver <[hidden email]> wrote: > > I have the strangest problem with the ZK plugin. When I start grails > > with run-app I get this error: > > > > C:\test3\zk-test>grails -Dserver.port=8082 run-app > > Listening for transport dt_socket at address: 5005 > > > > Welcome to Grails 1.0-RC1 - http://grails.org/ > > Licensed under Apache Standard License 2.0 > > Grails home is set to: C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1 > > > > Base Directory: C:\test3\zk-test > > Environment set to development > > Running script > C:\downloads\grails-bin-1.0-RC1\grails-1.0-RC1\scripts\RunApp.groovy > > Configured HTTP proxy: schengenproxy:8080 > > [mkdir] Created dir: C:\Documents and > > > Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes > > Compiling 5 source files to C:\Documents and > > > Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes > > [copy] Copying 1 file to C:\Documents and > > > Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes > > [copy] Copying 1 file to C:\Documents and > > > Settings\Administrator\.grails\1.0-RC1\projects\zk-test\classes > > Loading with installed plug-ins: ["ZkpluginGrailsPlugin"] ... > > [copy] Copying 1 file to C:\Documents and > > Settings\Administrator\.grails\1.0-RC1\projects\zk-test > > Running Grails application.. > > 2007-10-31 17:26:22.639::INFO: Logging to STDERR via > org.mortbay.log.StdErrLog > > 2007-10-31 17:26:22.749::INFO: jetty-6.1.4 > > 2007-10-31 17:26:23.436:/zk-test:INFO: Set web app root system > > property: 'zk-test' = [C:\test3\zk-test\web-app\] > > 2007-10-31 17:26:23.436:/zk-test:INFO: Initializing Log4J from > > [C:\test3\zk-test\web-app\WEB-INF\classes\log4j.properti > > es] > > 2007-10-31 17:26:23.436:/zk-test:INFO: Initializing Spring root > > WebApplicationContext > > [3906] commons.GrailsConfigUtils [GrailsContextLoader] Grails > > application loaded. > > 31-okt-2007 17:26:30 > org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 > > WARNING: Replicated language: xhtml, overriden by [LanguageDefinition: > xhtml] > > 31-okt-2007 17:26:30 > org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 > > WARNING: Replicated language: xml, overriden by [LanguageDefinition: xml] > > 31-okt-2007 17:26:30 > org.zkoss.zk.ui.metainfo.LanguageDefinition <init>:326 > > WARNING: Replicated language: xul/html, overriden by > > [LanguageDefinition: xul/html] > > 31-okt-2007 17:26:30 org.zkoss.util.resource.ClassLocator > > getDependentXMLResources:107 > > WARNING: Replicate resource: zkmax > > Overwrite > jar:file:/C:/test3/zk-test/./plugins/zk-0.1/lib/zkmax.jar!/metainfo/zk/lang-addon.xml > > with > jar:file:C:/test3/zk-test/plugins/zk-0.1/lib/zkmax.jar!/metainfo/zk/lang- > addon.xml > > 31-okt-2007 17:26:30 org.zkoss.util.resource.ClassLocator > > getDependentXMLResources:107 > > WARNING: Replicate resource: databind > > Overwrite > jar:file:/C:/test3/zk-test/./plugins/zk-0.1/lib/zkplus.jar!/metainfo/zk/lang- > addon.xml > > with > jar:file:C:/test3/zk-test/plugins/zk-0.1/lib/zkplus.jar!/metainfo/zk/lang-addon.xml > > 2007-10-31 17:26:31.088:/zk-test:INFO: Initializing Spring > > FrameworkServlet 'grails' > > 2007-10-31 17:26: 31.151::WARN: failed grails > > javax.servlet.ServletException: > > org.codehaus.groovy.runtime.InvokerInvocationException: > > groovy.lang.MissingMethodExcepti > > on: No signature of method: Book.save() is applicable for argument > > types: () values: {} > > at > org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437) > > at > org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) > > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > > at > org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:617) > > at > org.mortbay.jetty.servlet.Context.startContext(Context.java:139) > > at > org.mortbay.jetty.webapp.WebAppContext.startContext > (WebAppContext.java:1218) > > at > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) > > at > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) > > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > > at > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) > > at > org.mortbay.jetty.Server.doStart(Server.java:220) > > at org.mortbay.component.AbstractLifeCycle.start > (AbstractLifeCycle.java:40) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > > > > > > The strange this that when I remove the offending line in the > > Bootstrap class it still causes this error after restarting. > > > > Steven > > > > On 10/31/07, flyisland < [hidden email]> wrote: > > > sorry, my blog server change the file name automatically, the correct > name > > > of this plug-in should be "grails-zkplugin-0.1.zip" > > > > > > > > > On 10/31/07, Sergey Nebolsin <[hidden email]> wrote: > > > > Rename plugin distribution file to "grails-*.zip", in this case it > could > > > be " grails-zk-0.1.zip". > > > > > > > > Grails will only try to install plugin from a local zip file if this > file > > > is named by convention: > > > > 1) starts with "grails-" > > > > 2) ends with ".zip" > > > > 3) all text between "grails-" and ".zip" will be considered as > plugin's > > > name > > > > > > > > Cheers > > > > > > > > > > > > 2007/10/31, Alberto Gallen <[hidden email]>: > > > > > > > > > With "/" insthead "\" it does not work either > > > > > > > > > > sorry, any ideas > > > > > > > > > > > > > > > 2007/10/31, Alex Shneyderman < [hidden email]>: > > > > > > change your path to have / instead of \ > > > > > > > > > > > > On 10/31/07, Alberto Gallen <[hidden email]> wrote: > > > > > > > many Thank's > > > > > > > > > > > > > > but when run "grails install-plugin > > > path_to\11938117910.zip" > > > > > > > > > > > > > > get this error > > > > > > > > > > > > > > "grails Plugin xxxxx was not found in repository type grails > > > list-plugins" > > > > > > > > > > > > > > ?? > > > > > > > > > > > > > > > > > > > > > 2007/10/31, flyisland < [hidden email]>: > > > > > > > > Hi all, > > > > > > > > > > > > > > > > I have just built a plug to put ZK support into grails app, > you > > > can check > > > > > > > > out this plugin from > > > > > > > > > > > (http://flyisland.blogbus.com/logs/10570832.html). > > > > > > > > > > > > > > > > regards, > > > > > > > > island > > > > > > > > -- > > > > > > > > > > > > ----------------------------------------------------------------------------------------- > > > > > > > > 空中的一小块陆地 > > > > > > > > E-mail : [hidden email] > > > > > > > > Blog : http://flyisland.blogbus.com/ > > > > > > > > RSS : > http://feeds.feedburner.com/flyisland > > > > > > > > > > > > ----------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Alberto Gallen > > > > > > > alberto.gallen (algarroba) gmail (punto) com > > > > > > > Tfno 654.376600 > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Thanks, > > > > > > Alex. > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alberto Gallen > > > > > alberto.gallen (algarroba) gmail (punto) com > > > > > Tfno 654.376600 > > > > > > > > > > > > > > > > > > > > > -- > > > > Sergey Nebolsin > > > > Principal Software Engineer at ProPhotos.RU > > > > |
|
Hi Steven, I have no idea with the error, did you get the same errors without zk plugin?
On 11/2/07, Steven Devijver <[hidden email]> wrote: I created the Book class myself. -- ----------------------------------------------------------------------------------------- 空中的一小块陆地 E-mail : [hidden email] Blog : http://flyisland.blogbus.com/ RSS : http://feeds.feedburner.com/flyisland ----------------------------------------------------------------------------------------- |
| Powered by Nabble | Edit this page |
