Tag Archive
admin agile ant bea classpath hell coding standards common sense design doh eclipse economics ejb Hibernate humour ide IE intellij ioc Java javaworld junit language design learning management maven meh nytimes opinion patterns personal Politics refactoring Ruby struts suncorp tdd testing testng unit testing usa web app web design weblogic weblogic workshop wotif
Well, at least I’ve answered one question
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.
Ant 1.6.2 <junitreport> doesn’t work on Java 1.4.1
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.
Ant 1.6.2 is out
Yep, Ant 1.6.2 has been released. And the forkmode option for JUnit is there!. I’m really happy.
Controlling your log4j settings
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.
Mixing <ant> and <subant> leads to confusion…
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 [...]
I love the <import> task in Ant 1.6…
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. :)
A Weblogic “Kitchen Sink” episode
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.