Return-Path: Delivered-To: apmail-gump-general-archive@www.apache.org Received: (qmail 43294 invoked from network); 17 Sep 2004 18:05:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Sep 2004 18:05:01 -0000 Received: (qmail 77492 invoked by uid 500); 17 Sep 2004 18:05:01 -0000 Delivered-To: apmail-gump-general-archive@gump.apache.org Received: (qmail 77371 invoked by uid 500); 17 Sep 2004 18:05:00 -0000 Mailing-List: contact general-help@gump.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Gump code and data" Reply-To: "Gump code and data" Delivered-To: mailing list general@gump.apache.org Received: (qmail 77357 invoked by uid 99); 17 Sep 2004 18:05:00 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [69.20.61.177] (HELO chromium.sabren.com) (69.20.61.177) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 17 Sep 2004 11:04:59 -0700 Received: from [192.168.1.103] (rdu57-27-065.nc.rr.com [66.57.27.65]) (authenticated bits=0) by chromium.sabren.com (8.12.11/8.12.11) with ESMTP id i8HI5gtt018043 for ; Fri, 17 Sep 2004 14:05:43 -0400 Message-ID: <414B2744.9030304@apache.org> Date: Fri, 17 Sep 2004 14:04:52 -0400 From: Sam Ruby User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gump code and data Subject: Re: APR, httpd and gump References: <41485E64.8040203@sharp.fm> <4149BB18.9010103@sharp.fm> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stefan Bodewig wrote: > On Thu, 16 Sep 2004, Graham Leggett wrote: > >>I know next to nothing about python, > > So we are in the same boat here 8-) > >>The key thing seems to be the restriction where all scripts on unix >>have to end in ".sh" for some reason, > > platform independency, like I said. In reality I'm only aware of a > single project that uses it, Ant to bootstrap itself. > >>which typically they don't do. Is it possible to remove this >>restriction? > > Should be, but I'm not familiar enough with Python to try either. It is not that complicated. The current code looks like: # Add .sh or .bat as appropriate to platform scriptfullname=scriptxml.name if not os.name == 'dos' and not os.name == 'nt': scriptfullname += '.sh' else: scriptfullname += '.bat' One thing that would not be hard to add something like the following: if not os.path.exists(os.path.join(basedir, scriptfullname)): - Sam Ruby --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscribe@gump.apache.org For additional commands, e-mail: general-help@gump.apache.org