Wednesday, April 06, 2005

Speed increase

Hosed with my maven script so that all maven procs are at a lower nice level. This way JEdit still maintains priority when I'm coding (or whatever) and there are no noticeble UI delays.
Replaced the last 9 lines in the /bin/maven file with the following:

/bin/nice -n 15 $JAVACMD $MAVEN_OPTS -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.Doc
umentBuilderFactoryImpl -Djava.endorsed.dirs=$MAVEN_ENDORSED -classpath $MAVEN_HOME/lib/forehead-$FOREHEAD_VERSION.jar -Dforehead.conf.file=$MAVEN_HOME/bin/forehead.conf -Dtools.jar=$TOOL
S_JAR -Dmaven.home=$MAVEN_HOME $MAIN_CLASS $@

No comments: