Line 27 of mycore.properties in the mycore-iview2 module bring an overflow cause it is self called by property substitution
works for me. Please try with current build of mycore and docportal.
It works with the new MCRConfiguration package. substituteVariables in mycore-buildtools/src/main/java/org/mycore/buildtools/anttasks/MCRConfigurationTask.java is obsolete.