Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 59183 invoked from network); 12 Sep 2006 19:09:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Sep 2006 19:09:08 -0000 Received: (qmail 32541 invoked by uid 500); 12 Sep 2006 19:09:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 32452 invoked by uid 500); 12 Sep 2006 19:09:07 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 32443 invoked by uid 99); 12 Sep 2006 19:09:07 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 12:09:07 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=mcintyre.a@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=mcintyre.a@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.4 required=5.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.92.172 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from ([66.249.92.172:16799] helo=ug-out-1314.google.com) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id C4/60-04378-DD507054 for ; Tue, 12 Sep 2006 12:09:18 -0700 Received: by ug-out-1314.google.com with SMTP id m2so1840019uge for ; Tue, 12 Sep 2006 12:09:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cAo5V2w0SkE8i+RsxxJJEkBfFCKjDadGODriGjETwoMzUfxe4UU8Fzwq2kWjzIWZWyeZNiBDH7r03IyDQLyRi0m935I1QrAhTaIm7D4l38/9IsO03WbWnJ/ZvIxT3Fook22UfbFpR+u8A5IsAMmJkebSEkzwhenW+DS/tVmqYmA= Received: by 10.67.22.2 with SMTP id z2mr3614880ugi; Tue, 12 Sep 2006 12:08:59 -0700 (PDT) Received: by 10.67.27.19 with HTTP; Tue, 12 Sep 2006 12:08:59 -0700 (PDT) Message-ID: <54ac72d70609121208l7cc73ef3p13794dbd620f9c6d@mail.gmail.com> Date: Tue, 12 Sep 2006 12:08:59 -0700 From: "Andrew McIntyre" To: derby-dev@db.apache.org Subject: Re: Questions on the scripts in /bin directory of Derby install In-Reply-To: <4506F937.3020008@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4506F937.3020008@gmail.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/12/06, Rajesh Kartha wrote: > > I had some questions on the scripts residing under the new /bin directory: > > 1) There are scripts > =============== > *08/11/2006 10:28a 1,166 NetworkServerControl > 08/11/2006 10:28a 1,376 NetworkServerControl.bat > > *What is the benefit of this if there are separate start/stop scripts > already available ? Because there are several other functions available via NetworkServerControl like trace on/off, ping, runtimeinfo etc. > 2) Windows and MKS > ================ > Looks like the CLASSPATH does not set appropriately. I wasn't worried too much about supporting MKS although I suppose it would be possible without too much trouble. Checked in a fix to derby_common.sh to allow running with MKS. > 3) On Linux > ========= > (a) After unzipping the db-derby-10.2.1.3-bin.zip on Linux the > permission on the scripts in /bin is only readable Hmm. There was a question about this during the review of DERBY-1223, since there was a note concerning setting the executable bit on the scripts in the Getting Started guide. Kim Haase and I just tested this out the other day from a distribution I built and could not reproduce this on a Linux box. But now, unzipping the 10.2.1.3-beta zip on OS X, I see this problem as well. I haven't checked the .tar.gz yet. > (b) In the bash shell, when I try sysinfo (after changing the > permission on sysinfo and derby_common) I am seeing the following: > > bash-3.00$ bin/sysinfo > > > Is anybody else seeing issues (2) and (3) ? Yes, and it appears to be a problem with line endings, although I thought that by not setting the svn:eol-style native property in svn on the Unix scripts, and then checking them in from a Unix box, that we wouldn't encounter line ending problems with these files. I'm wondering why I'm not seeing these problems when I build the distributions. Rick, what platform are you building the distributions on? andrew