--- java-ant-2.eclass.orig 2008-01-03 16:31:16.000000000 +1300 +++ java-ant-2.eclass 2008-01-06 12:03:41.000000000 +1300 @@ -261,6 +261,10 @@ # for javadoc target and all in one pass, we need the new rewriter. local rewriter3="/usr/share/javatoolkit/xml-rewrite-3.py" if [[ ! -f ${rewriter3} ]]; then + rewriter3="/usr/bin/xml-rewrite-3.py" + fi + + if [[ ! -f ${rewriter3} ]]; then debug-print "Using second generation rewriter" eval echo "Rewriting source attributes" ${output} eval xml-rewrite-2.py ${files} \