Greetings,
I've just committed changes to hackyBuild to provide a different way of supporting Tomcat 4/5 compatibility more in line with the way Ant wants to do things. (My first attempt, using multiple 'available' targets, worked fine but generated Ant warnings about multiple property settings.)
Recall that the problem with Tomcat 5 is that it supplies a file called servlet-api.jar rather than servlet.jar, and hackyKernel needs to find this file in order to compile its servlet code successfully.
The new way is the following:
(1) If you don't do anything, it still works fine for Tomcat 4.x.
(2) To support Tomcat 5.x, you must provide the following somewhere in your hackystat.properties:
tomcat.servlet.jar.filename=servlet-api.jar
At some point in the future, we can easily change the default behavior in the build.xml to resolve to servlet-api.jar, and then of course someone wanting Tomcat 4.x would use that property to set the filename back to servlet.jar.
I've tested on my desktop (Tomcat 5) and my laptop (Tomcat 4) and the fix appears to work fine. Let me know if your mileage varies.
Cheers, Philip
