Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 36894 invoked from network); 18 Aug 2005 19:58:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2005 19:58:58 -0000 Received: (qmail 17030 invoked by uid 500); 18 Aug 2005 19:58:57 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 17005 invoked by uid 500); 18 Aug 2005 19:58:57 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 16992 invoked by uid 500); 18 Aug 2005 19:58:57 -0000 Delivered-To: apmail-incubator-ibatis-dev@incubator.apache.org Received: (qmail 16985 invoked by uid 99); 18 Aug 2005 19:58:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2005 12:58:55 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D6ABEE4 for ; Thu, 18 Aug 2005 21:58:54 +0200 (CEST) Message-ID: <1050891671.1124395134877.JavaMail.jira@ajax.apache.org> Date: Thu, 18 Aug 2005 21:58:54 +0200 (CEST) From: "David Marzo (JIRA)" To: ibatis-dev@incubator.apache.org Subject: [jira] Commented: (IBATISNET-103) Typos in Resources.cs In-Reply-To: <878289804.1124383554580.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/IBATISNET-103?page=comments#action_12319214 ] David Marzo commented on IBATISNET-103: --------------------------------------- I follow the documentation "Data Access Guide-1.6.1" pag 11 (Excelent docs!!) embedded: Specify the providers.config file to be loaded as an embedded resource in an assembly. Syntax for the embedded attribute is '[extendednamespace.]filename, the name of the assembly which contains the embedded resource' embedded="Resources.providers.config, MyApp.Data" My Assembly is Persistence.dll and providers.config is emmbeded in this dll in the namespace org.xeaf.example.persistence.config.providers.config i use Reflector http://www.aisto.com/roeder/dotnet/ for test. > Typos in Resources.cs > --------------------- > > Key: IBATISNET-103 > URL: http://issues.apache.org/jira/browse/IBATISNET-103 > Project: iBatis for .NET > Type: Improvement > Reporter: Ron Grabowski > Assignee: Gilles Bayon > Priority: Trivial > Fix For: DataMapper 1.3 > > David Marzo posted the following message to the user-cs list. I've verified they are present in the most recent revision in SVN: > I have two small "bugs": > cs\mapper\IBatisNet.Common\Utilities\Resources.cs > ln 291 > Original: > throw new ConfigurationException(string.Format("Unable to load > XmlDocument via stream. Cause : {1}", e.Message ) ,e); > Correct: > throw new ConfigurationException(string.Format("Unable to load > XmlDocument via stream. Cause : {0}", e.Message),e); > Similar error in Lines: 313,336,446 > Ln 413 > Original: > Stream stream = > > assembly.GetManifestResourceStream(fileInfo.ResourceFileName); > Correct: > Stream stream = > assembly.GetManifestResourceStream(fileInfo.FileName); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira