Return-Path: Delivered-To: apmail-jakarta-bsf-dev-archive@www.apache.org Received: (qmail 24311 invoked from network); 14 Nov 2005 18:01:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Nov 2005 18:01:48 -0000 Received: (qmail 7004 invoked by uid 500); 14 Nov 2005 18:01:47 -0000 Delivered-To: apmail-jakarta-bsf-dev-archive@jakarta.apache.org Received: (qmail 6979 invoked by uid 500); 14 Nov 2005 18:01:47 -0000 Mailing-List: contact bsf-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Bean Scripting Framework developers" Reply-To: "Bean Scripting Framework developers" Delivered-To: mailing list bsf-dev@jakarta.apache.org Received: (qmail 6964 invoked by uid 99); 14 Nov 2005 18:01:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 10:01:46 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ssanka@gmail.com designates 66.249.82.200 as permitted sender) Received: from [66.249.82.200] (HELO xproxy.gmail.com) (66.249.82.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2005 10:01:37 -0800 Received: by xproxy.gmail.com with SMTP id s9so654483wxc for ; Mon, 14 Nov 2005 10:01:24 -0800 (PST) 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:references; b=HRO85Mg/v7wSKgK9He4jlznRP7Rek2x2JVACb+Prey8LCCmCfemID0SR8tHyTlHHJxEMAJik1PvuW4UuIDmMxBicWfpD0z8hvIMFevroLXig4GtLpYyN4aarkz3nh7KXOKr9o+3bZkhLxEjelhPTD6RMaoi/S/t86PdcwRrHrsA= Received: by 10.70.60.6 with SMTP id i6mr1733021wxa; Mon, 14 Nov 2005 10:01:24 -0800 (PST) Received: by 10.70.109.14 with HTTP; Mon, 14 Nov 2005 10:01:24 -0800 (PST) Message-ID: <1e8c1ed40511141001h2132c5faof1341785a3e04ceb@mail.gmail.com> Date: Tue, 15 Nov 2005 00:01:24 +0600 From: Sanka Samaranayake To: Bean Scripting Framework developers Subject: Re: svn commit: r331843 - /jakarta/bsf/trunk/src/org/apache/bsf/BSFManager.java In-Reply-To: <4378522C.9060001@wu-wien.ac.at> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24044_22585828.1131991284749" References: <20051108170032.89669.qmail@minotaur.apache.org> <4378522C.9060001@wu-wien.ac.at> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_24044_22585828.1131991284749 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Rony, That's strange. I've just checked my local copy and it is up to date. (I've also tried to remove the BSFManager.java from the local copy restore it fro= m the remote repo and it restores it properly). BTW I am using Tortoise SVN Client and I am not sure what causes such behaviour in your local copy. In fact by executing only "E:\...\local-copy\>svn update" should update and apply whatever changes to the local copy without any difficulties. (I assum= e that information you have produced is after executing 'svn update') I also checked the svn log and patch it generated. ----------------------------------------------cut here------------------------------------------------------------- Index: D:/jakarta-bsf/src/org/apache/bsf/BSFManager.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- D:/jakarta-bsf/src/org/apache/bsf/BSFManager.java (revision 331842) +++ D:/jakarta-bsf/src/org/apache/bsf/BSFManager.java (revision 331843) @@ -828,14 +828,16 @@ unregisterBean(beanName); BSFDeclaredBean tempBean =3D null; + boolean found =3D false; for (int i =3D 0; i < declaredBeans.size(); i++) { tempBean =3D (BSFDeclaredBean) declaredBeans.elementAt(i); if (tempBean.name.equals(beanName)) { + found =3D true; break; } } - if (tempBean !=3D null) { + if (found) { declaredBeans.removeElement(tempBean); Enumeration enginesEnum =3D loadedEngines.elements(); ---------------------------------------------------------------------------= --------------------------- I cant understand the cause of behaviour of your local copy. Most probably it shouldn't be something to do with Tortoise SVN client because there are few people that I know in Axis2 project who use it without any problem. Best, Sanka p.s. I was hoping to remove the debug interface last weekend but couldn't do it because I got some unexpected assignments. I will surely try to fix that this weekend. After that can you or Dr.Sanjiva post a note to the dev-list and do the appropriate to cut a release since we are not hearing anything from Victor? Is there any other thing that we need to do before cutting a release? On 11/14/05, Rony G. Flatscher wrote: > > Hi Sanka, > > just tried to get your changes into my local copy of bsf, but it seems > that either your changes were not committed or rolled back. > > Here you see my local, checked out copy, the local directory and the > result of "svn stat" and "svn diff" indicating that my local copy would > be the same as the one on apache.org . Also svn thinks > the last time a > change has occurred in this directory was on 2006-05-31: > > ----------------------- cut here -------------------- > E:\svnrgf\remote\bsf\src\org\apache\bsf>svn info > Path: . > URL: https://svn.apache.org/repos/asf/jakarta/bsf/trunk/src/org/apache/bs= f > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 189473 > Node Kind: directory > Schedule: normal > Last Changed Author: sanka > Last Changed Rev: 180448 > Last Changed Date: 2005-05-31 10:26:36 +0200 (Tue, 31 May 2005) > > > E:\svnrgf\remote\bsf\src\org\apache\bsf>dir > Datentr=E4ger in Laufwerk E: ist root_e > Volumeseriennummer: 97A2-EBE4 > > Verzeichnis von E:\svnrgf\remote\bsf\src\org\apache\bsf > > 06/08/2005 12:43 AM . > 06/08/2005 12:43 AM .. > 06/08/2005 08:52 PM .svn > 06/14/2004 06:29 PM 3,209 BSFDeclaredBean.java > 06/14/2004 06:29 PM 12,211 BSFEngine.java > 06/14/2004 06:29 PM 4,155 BSFException.java > 08/10/2004 04:25 AM 32,633 BSFManager.java > 06/08/2005 12:41 AM engines > 06/08/2005 12:44 AM 1,729 Languages.properties > 06/14/2004 06:29 PM 8,207 Main.java > 06/08/2005 12:41 AM test > 06/11/2005 05:34 PM util > 6 Datei(en) 62,144 Bytes > 6 Verzeichnis(se), 2,707,992,576 Bytes frei > > E:\svnrgf\remote\bsf\src\org\apache\bsf>svn stat > > E:\svnrgf\remote\bsf\src\org\apache\bsf>svn diff > > E:\svnrgf\remote\bsf\src\org\apache\bsf> > > ----------------------- cut here -------------------- > > > However, following the link of the generated change-message shows your > changes: > > sanka@apache.org wrote: > > >Author: sanka > >Date: Tue Nov 8 08:59:46 2005 > >New Revision: 331843 > > > >URL: http://svn.apache.org/viewcvs?rev=3D331843&view=3Drev > >Log: > >Fixed: BSFManager.undeclareBean(..) undeclares wrong bean when bean to b= e > undeclared not found and vector of declared beans is not empty. > > > >Modified: > > jakarta/bsf/trunk/src/org/apache/bsf/BSFManager.java > > > >Modified: jakarta/bsf/trunk/src/org/apache/bsf/BSFManager.java > >URL: > http://svn.apache.org/viewcvs/jakarta/bsf/trunk/src/org/apache/bsf/BSFMan= ager.java?rev=3D331843&r1=3D331842&r2=3D331843&view=3Ddiff > > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > >--- jakarta/bsf/trunk/src/org/apache/bsf/BSFManager.java (original) > >+++ jakarta/bsf/trunk/src/org/apache/bsf/BSFManager.java Tue Nov 8 > 08:59:46 2005 > >@@ -828,14 +828,16 @@ > > unregisterBean(beanName); > > > > BSFDeclaredBean tempBean =3D null; > >+ boolean found =3D false; > > for (int i =3D 0; i < declaredBeans.size(); i++) { > > tempBean =3D (BSFDeclaredBean) declaredBeans.elementAt(i); > > if (tempBean.name.equals(beanName)) { > >+ found =3D true; > > break; > > } > > } > > > >- if (tempBean !=3D null) { > >+ if (found) { > > declaredBeans.removeElement(tempBean); > > > > Enumeration enginesEnum =3D loadedEngines.elements(); > > > > > Would you have an idea what the reason for this could be, am I doing > something wrong (not really used to svn)? > > Regards, > > ---rony > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: bsf-dev-help@jakarta.apache.org > > ------=_Part_24044_22585828.1131991284749--