def doWithSpring = {
String pathResource = 'pathResource'
String pluginPath = manager.getPluginPath('plugin-name')
String pluginPath = plugin.pluginPath
def servletContext = application.parentContext.servletContext
mappingRelativePath = servletContext.getRealPath(pluginPath + '/' + pathResource)
}
Posted by João Paulo to ZeroGlosa (2016-09-27 19:05)