Load the DSL as a file and parse it; don't assume Grails will do so.