Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 2927 invoked from network); 10 Feb 2003 03:38:41 -0000 Received: from cortex-gw.magna.com.au (HELO smtp.cortexebusiness.com.au) (203.174.140.214) by daedalus.apache.org with SMTP; 10 Feb 2003 03:38:41 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id h1A3cmM02789 for ; Mon, 10 Feb 2003 14:38:48 +1100 (EST) Received: from UNKNOWN(192.168.1.9), claiming to be "chunky.int.cortexebusiness.com.au" via SMTP by ctx00, id smtpdAAAjsa4Af; Mon Feb 10 14:38:45 2003 Received: (from daemon@localhost) by chunky.int.cortexebusiness.com.au (8.10.0/8.10.0) id h1A3cl218128 for ; Mon, 10 Feb 2003 14:38:47 +1100 (EST) Received: from kooky.int.cortexebusiness.com.au(192.168.1.48), claiming to be "cortexebusiness.com.au" via SMTP by chunky.int.cortexebusiness.com.au, id smtpdAAAhvaOyJ; Mon Feb 10 14:38:41 2003 Message-ID: <3E472074.3020304@cortexebusiness.com.au> Date: Mon, 10 Feb 2003 14:45:56 +1100 From: Conor MacNeill User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: [PATCH] Main.runBuild does not need to setSecurityManager References: <5ED0425E-3C96-11D7-B3E3-000393A564E6@ehatchersolutions.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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. Conor