ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <>
Subject Re: [PATCH] Main.runBuild does not need to setSecurityManager
Date Mon, 10 Feb 2003 03:45:56 GMT
Erik Hatcher wrote:
> 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.


View raw message