I figured out why the web app I was trying to build before broken when I used the exported build script. Turns out that you need to run a setup script to get your environment “just right” before running the build.
Continue reading “Well, at least I’ve answered one question”
Little warning for anyone else who stumbles across this problem: the stylesheet used for <junitreport> in Ant 1.6.2 does not work with Xalan 2.2. Unfortunately, this is the version that’s bundled inside the rt.jar in Java 1.4.1.
Continue reading “Ant 1.6.2 doesn’t work on Java 1.4.1”
Yep, Ant 1.6.2 has been released. And the forkmode option for JUnit is there!. I’m really happy.
Continue reading “Ant 1.6.2 is out”
Nick over at the System Mobile Web Log was having trouble with Log4J and his unit tests. Seems that he was getting the log4j.properties file from XDoclet, instead of the one he wanted.
Continue reading “Controlling your log4j settings”
Update: It’s not a bug, it’s a feature! Seriously. 😉 It turns out that the <ant> task effectively sets the basedir property as a user-property, which means that it can’t be changed. User-properties are propogated through regardless of the inheritAll flag. The doco could have been clearer, but that’s life.
The easy work around: don’t use the dir attribute to locate the file, actually specify it in full (see the bug report for the example).
I lodged a bug report with Apache Ant today; first one in a long while. It turns out the the <ant> and <subant> tasks aren’t entirely compatible.
Continue reading “Mixing and leads to confusion…”
What can I say? I love the <import> task. 🙂 If the Jolt Awards were accepting nominations at the moment, I’d be nominating that one bit of Ant 1.6 all by itself. 🙂
Continue reading “I love the task in Ant 1.6…”
I encountered a lovely piece of Classpath Hell thanks to Weblogic (7.0) today. Or rather a colleague of mine did; I just helped him figure it out.
Continue reading “A Weblogic “Kitchen Sink” episode”