Re: javatoolkit: new project layout

Alistair Bush <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
Please find attached a patch to java-ant-2.eclass to support the moving
of xml-rewrite-3.py, obviously we will figure out exactly where we are
moving it too before I apply this.
xml-rewriter-3-move.patch (text/plain, 547 B)
--- 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} \
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.