I'm guessing this is a trick question... :)
No, it was a genuine question :-) I'm at work and I haven't had much of a chance to look at it.
because oldsm doesn't appear to be used, except in the finally clause, and its setting the security manager back to what it already was.
What am I (and Stu) missing?
Maybe nothing. Our use of a security manager shouldn't be an issue as this is for use from the command line. IOW, Main is the command line driver for Ant. If you are integrating Ant into another environment with its own security manager, you should be integrating Project. Well, there are probably issues to do with that statement, which I think we should address as well.
Conor