Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class BootStrap {
- def grailsApplication
- def init = { servletContext ->
- def classLoader = grailsApplication.classLoader
- def script = classLoader.loadClass("SimpleAktion").newInstance()
- script.run()
- def shell = new GroovyShell(classLoader)
- script = shell.parse(new File("./src/groovy/SimpleAktion.groovy"))
- script.run()
- }
- def destroy = {
- }
- }
Add Comment
Please, Sign In to add comment