ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Halloway (DevelopMentor)" <>
Subject Re: [PATCH] Main.runBuild does not need to setSecurityManager
Date Tue, 11 Feb 2003 21:52:45 GMT
> Maybe nothing. Our use of a security manager shouldn't be an issue as 
> this is for use from the command line. 

Ant isn't using a SecurityManager (well, at least not at this point in 
the code). It's getting the one *I* set, then resetting it to the same 
value. This is a no-op except for the fact that Ant now asserts a 
permission that it doesn't need.

> 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. 

What if I am integrating Ant into a non-Java environment, and want to 
turn on security from the command line? Is this usage invalid?


Stuart Halloway         :
DevelopMentor           :
Essential Java          :

View raw message