Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 26006 invoked from network); 7 Sep 2006 06:45:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 06:45:22 -0000 Received: (qmail 34691 invoked by uid 500); 7 Sep 2006 06:45:12 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 34623 invoked by uid 500); 7 Sep 2006 06:45:12 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 34602 invoked by uid 99); 7 Sep 2006 06:45:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 23:45:11 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alexey.a.petrenko@gmail.com designates 66.249.82.225 as permitted sender) Received: from [66.249.82.225] (HELO wx-out-0506.google.com) (66.249.82.225) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 23:45:10 -0700 Received: by wx-out-0506.google.com with SMTP id s13so128305wxc for ; Wed, 06 Sep 2006 23:44:49 -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=hqZoz9MVVN5ncP8FSXNN5SPsAcLKqaKCFKhBTSqKFjCxA2CK5agRiwIz/xiP1fBQGFAjB2hxfZIweR8zXkxaEhJvfYFT9T6hPusdriwkjjxGztYzKplq6ChVTVG5Mq7gJhEkWumnOyTyMG94nsG9NqyCv+dnOwmAFGPYJu2RJf8= Received: by 10.70.59.17 with SMTP id h17mr11348wxa; Wed, 06 Sep 2006 23:44:49 -0700 (PDT) Received: by 10.70.36.14 with HTTP; Wed, 6 Sep 2006 23:44:49 -0700 (PDT) Message-ID: Date: Thu, 7 Sep 2006 10:44:49 +0400 From: "Alexey Petrenko" To: harmony-dev@incubator.apache.org Subject: Re: [vote] HARMONY-1363 - DRLVM fixes and additions In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44FFA109.7080600@pobox.com> <44FFA12D.2070307@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've talked about a small patch for this exact issue of course. SY, Alexey 2006/9/7, Alexey Varlamov : > Alexey, > > This conflict is trivial enough and was caused by recent Geir's > changes, see the parallel thread about launcher. > I don't think we need to redone the whole patch for this issue - > either commiter will resolve it by hand or minor patch for this > particular change can be made anew. > > -- > Regards, > Alexey > > > 2006/9/7, Alexey Petrenko : > > Guys, > > > > I've tried a patch. > > Patch failed in ./vm/em/src/DrlEMImpl.cpp. On Linux and Windows. > > Here is a rej file: > > === cut === > > *************** > > *** 151,165 **** > > //_____________________________________________________________________ > > // Reading and parsing configuration > > > > > > - std::string buildDefaultLibPath(const std::string& dll_name) { > > - std::string library_path = vm_get_property_value("vm.boot.library.path"); > > #ifdef PLATFORM_NT > > - std::string fullPath = library_path + "\\"+ dll_name+".dll"; > > - #else > > - std::string fullPath = library_path + "/lib" + dll_name + ".so"; > > #endif > > - return fullPath; > > } > > > > static std::string getParam(const std::string& config, const > > std::string& name) { > > --- 167,198 ---- > > //_____________________________________________________________________ > > // Reading and parsing configuration > > > > + static bool endsWith(const std::string& str, const std::string& suffix) { > > + if (str.length() < suffix.length()) { > > + return false; > > + } > > + return std::equal(suffix.rbegin(), suffix.rend(), str.rbegin()); > > + } > > > > + std::string prepareLibPath(const std::string& origPath) { > > #ifdef PLATFORM_NT > > + std::string separator("\\"), libPrefix(""), libSuffix(".dll"); > > + #else > > + std::string separator("/"), libPrefix("lib"), libSuffix(".so"); > > #endif > > + > > + std::string path = origPath; > > + if (path.find('/') == path.npos && path.find('\\') == path.npos ) { > > + std::string dir = vm_get_property_value("vm.boot.library.path"); > > + if (libPrefix.length() > 0 && !startsWith(path, libPrefix)) { > > + path = libPrefix + path; > > + } > > + path = dir + separator + path; > > + } > > + if (!endsWith(path, libSuffix)) { > > + path+=libSuffix; > > + } > > + return path; > > } > > > > static std::string getParam(const std::string& config, const > > std::string& name) { > > === cut === > > > > As a result build fails. > > > > Salikh, it seems that you need to provide additional patch. > > > > SY, Alexey > > > > 2006/9/7, Alexey Varlamov : > > > +1 > > > > > > 2006/9/7, Geir Magnusson Jr. : > > > > +1 > > > > > > > > Geir Magnusson Jr. wrote: > > > > > All is in order and in SVN for Harmony-1225 wrt BCC and ACQ. I think > > > > > that this an important patch so we can get better 1.5 support et al. > > > > > > > > > > Please vote to accept or reject this set of patches and fixes into the > > > > > Apache Harmony class library : > > > > > > > > > > [ ] + 1 Accept > > > > > [ ] -1 Reject (provide reason below) > > > > > > > > > > Lets let this run a minimum of 3 days unless a) someone states they need > > > > > more time or b) we get all committer votes before then. > > > > > > > > > > geir > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > > > > > > -- > > Alexey A. Petrenko > > Intel Middleware Products Division > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > -- Alexey A. Petrenko Intel Middleware Products Division --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org