How to render or include files/data in bootstrap.groovy?
Posted
by skurt
on Stack Overflow
See other posts from Stack Overflow
or by skurt
Published on 2010-05-17T09:46:19Z
Indexed on
2010/05/17
9:50 UTC
Read the original article
Hit count: 172
I want to use some parts of code in different area of bootstrap.groovy. How do I "include" these parts and reuse it?
def init = {
environments {
production {
include("bla.groovy)
include("blaFoo.groovy)
}
test {
include("blaFoo.groovy)
}
development {
include("bla.groovy)
include("bla1.groovy)
include("blaFoo.groovy)
}
}
}
© Stack Overflow or respective owner