ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Marzo (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Commented: (IBATISNET-103) Typos in Resources.cs
Date Thu, 18 Aug 2005 19:58:54 GMT
    [ 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


Mime
View raw message