I have a custom grails plugin I m trying to develop and set this
def dependsOn = [dataSource: "1.0"]
in the Plugin script.
Now, my custom plugin loads just fine but I dont see tomcat installed in my application. How does one install a dependency plugin (prompt the user to say yes/no)? Is this even possible?
Once your plugin is published, this should work. Try:
grails install-plugin nimble
You will see that both Nimble and Shiro are installed (Nimble depends on Shiro).
Not sure what Grails version you're using, but Grails 1.2 has much improved dependency management for plugins and apps; see this post by Graeme Rocher for details.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.