Monday, September 19, 2011

grails tomcat plugin sym links

create scripts/Event.groovy:

eventConfigureTomcat = {tomcat ->
def ctx = tomcat.host.findChild(serverContextPath)
ctx.allowLinking = true
}

However when grails.app.context = "/", this doesn't work because the TomcatServer.groovy replaces "/" with ""


therefore, must change tomcat.host.findChild(serverContextPath) to tomcat.host.findChild("")

Sunday, September 18, 2011

dojo build script

cp ~/sync/workspace/fulicious/fulicious.profile.js profiles/;./build.sh profile=fulicious action=clean,release releaseName=fulicious-dojo