changes in OpenGrok script to support tomcat7 , netbeans 7.3.1