Griffon command line arguments
Posted
by
jjchiw
on Stack Overflow
See other posts from Stack Overflow
or by jjchiw
Published on 2011-01-09T00:50:02Z
Indexed on
2011/01/09
0:53 UTC
Read the original article
Hit count: 253
griffon
How to use getStartupArgs()
Since 0.9.1 it seems you can read the command line arguments issue #245 with the getStartupArgs() method (documentation)
But I do know how to use it, I've put it in in all the Griffon lifecycle, Controller, Service, and I get the exception
org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: [LifeCycle|Controller|Service].getStartupArgs() is applicable for argument types: () values: []
Caused by: groovy.lang.MissingMethodException: No signature of method: [LifeCycle|Controller|Service].getStartupArgs() is applicable for argument types: () values: [
]
© Stack Overflow or respective owner