aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@aura-online.co.uk>2008-06-17 10:09:41 +0000
committerJames Le Cuirot <chewi@aura-online.co.uk>2008-06-17 10:09:41 +0000
commit65fea17543efbc8f6b7c0b94b48d912c997fe784 (patch)
treeb6148e83a778efbf4f981d6ad9639a3fd2056fce
parentNew approach to rewriting the classpath. The previous one didn't work very well. (diff)
downloadjavatoolkit-65fea17543efbc8f6b7c0b94b48d912c997fe784.tar.gz
javatoolkit-65fea17543efbc8f6b7c0b94b48d912c997fe784.tar.bz2
javatoolkit-65fea17543efbc8f6b7c0b94b48d912c997fe784.zip
Forgot about xjavac tags.
svn path=/projects/javatoolkit/trunk/; revision=6323
-rw-r--r--src/py/javatoolkit/xml/DomRewriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py/javatoolkit/xml/DomRewriter.py b/src/py/javatoolkit/xml/DomRewriter.py
index e6ac33d..45eaf8a 100644
--- a/src/py/javatoolkit/xml/DomRewriter.py
+++ b/src/py/javatoolkit/xml/DomRewriter.py
@@ -64,7 +64,7 @@ class DomRewriter:
last_parent = match.parentNode
# Add our classpath element to every javac node we missed earlier.
- for match in document.getElementsByTagName("javac"):
+ for match in document.getElementsByTagName("javac") + document.getElementsByTagName("xjavac"):
if not match.getElementsByTagName("classpath"):
match.appendChild(cp.cloneNode(True))