Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 87116 invoked from network); 23 Jan 2004 15:32:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Jan 2004 15:32:47 -0000 Received: (qmail 89767 invoked by uid 500); 23 Jan 2004 15:32:41 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 89728 invoked by uid 500); 23 Jan 2004 15:32:41 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 89717 invoked from network); 23 Jan 2004 15:32:40 -0000 Received: from unknown (HELO merke.itea.ntnu.no) (129.241.7.61) by daedalus.apache.org with SMTP; 23 Jan 2004 15:32:40 -0000 Received: from localhost (localhost [127.0.0.1]) by merke.itea.ntnu.no (Postfix) with ESMTP id DFC1913D0BC for ; Fri, 23 Jan 2004 16:32:41 +0100 (CET) Received: from tiger.stud.ntnu.no (tiger.stud.ntnu.no [129.241.56.180]) by merke.itea.ntnu.no (Postfix) with ESMTP id A688313CA0D for ; Fri, 23 Jan 2004 16:32:41 +0100 (CET) Received: by tiger.stud.ntnu.no (Postfix, from userid 33284) id A36D933DDC; Fri, 23 Jan 2004 16:32:41 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tiger.stud.ntnu.no (Postfix) with ESMTP id A1A34A8B99 for ; Fri, 23 Jan 2004 16:32:41 +0100 (CET) Date: Fri, 23 Jan 2004 16:32:41 +0100 (CET) From: =?ISO-8859-1?Q?Eirik_Bj=F8rsn=F8s?= To: forrest-dev@xml.apache.org Subject: Re: [PATCH] Invoking forrest with relative path In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-243157960-1580881557-1074871930=:25678" Content-ID: X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---243157960-1580881557-1074871930=:25678 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Fri, 23 Jan 2004, Eirik Bj=F8rsn=F8s wrote: > The attached patch contains the fix. My only concern is if this will work > also on cygwin, and I'd be happy if someone could test it. Hello again, After looking through src/core/bin/forrest a bit closer I found that the following lines might work better with cygwin: (I've never used cygwin personally, so someone, please verify :) if [ "$cygwin" =3D "true" ] ; then FORREST_HOME=3D$(cd $(eval "dirname $0")/..;cygpath -w $PWD) else FORREST_HOME=3D$(cd $(eval "dirname $0")/..;echo $PWD) fi This updated fix is attached as a patch to this mail. Please disregard the previous patch. Eirik. --=20 Eirik Bj=F8rsn=F8s bjorsnos@stud.ntnu.no ---243157960-1580881557-1074871930=:25678 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="relative_home.patch2" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="relative_home.patch2" SW5kZXg6IHNyYy9jb3JlL2Jpbi9mb3JyZXN0DQo9PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09DQpSQ1MgZmlsZTogL2hvbWUvY3ZzcHVibGljL3htbC1mb3JyZXN0 L3NyYy9jb3JlL2Jpbi9mb3JyZXN0LHYNCnJldHJpZXZpbmcgcmV2aXNpb24g MS4xDQpkaWZmIC11IC1yMS4xIGZvcnJlc3QNCi0tLSBzcmMvY29yZS9iaW4v Zm9ycmVzdAkyMCBPY3QgMjAwMyAxNTozNzo0OSAtMDAwMAkxLjENCisrKyBz cmMvY29yZS9iaW4vZm9ycmVzdAkyMyBKYW4gMjAwNCAxNToyOToyMiAtMDAw MA0KQEAgLTIwLDcgKzIwLDExIEBADQogZmkNCiANCiAjIHVzZSB0aGUgbG9j YXRpb24gb2YgdGhpcyBzY3JpcHQgdG8gaW5mZXIgJEZPUlJFU1RfSE9NRQ0K LUZPUlJFU1RfSE9NRT1gZGlybmFtZSAiJDAiYC8uLg0KK2lmIFsgIiRjeWd3 aW4iID0gInRydWUiIF0gOyB0aGVuDQorICBGT1JSRVNUX0hPTUU9JChjZCAk KGV2YWwgImRpcm5hbWUgJDAiKS8uLjtjeWdwYXRoIC13ICRQV0QpDQorZWxz ZQ0KKyAgRk9SUkVTVF9IT01FPSQoY2QgJChldmFsICJkaXJuYW1lICQwIikv Li47ZWNobyAkUFdEKQ0KK2ZpDQogDQogIyBTYXZlIG9sZCBBTlRfSE9NRQ0K IE9MRF9BTlRfSE9NRT0iJEFOVF9IT01FIg0K ---243157960-1580881557-1074871930=:25678--