Extract common condition in jetty.xml.erb.