ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Marzo \(Puzzlet\)" <david.ma...@puzzlet.net>
Subject RE: Embedde map files not found
Date Mon, 17 Oct 2005 17:42:38 GMT
Hi

I used embedded maps with succesfull.
But i have to change source code for work with

>Project namespace differs from assembly name

See http://issues.apache.org/jira/browse/IBATISNET-103

For more details

David Marzo

-----Mensaje original-----
De: oleksa borodie [mailto:oleksa.borodie@gmail.com] 
Enviado el: lunes, 17 de octubre de 2005 17:03
Para: ibatis-user-cs@incubator.apache.org
Asunto: Embedde map files not found

Hello.

 I'm trying iBATIS from "iBATIS-src-SVN-179390.zip" archive.

 If map file is embedded into the application resources than iBATIS
fails to load it.

<sqlMap embedded="Log.xml, OctopusService.exe"/>

 In the assembly file reflector shows that full name of the resource
is "CompanyName.ProductName.Maps.ISCard.xml" maybe because map file
was placed to the "Maps" project subfolder and default project
namespace differs from assembly name. I try adding "Maps." prefix to
the sqlmap embedded attribute value but this doesn't help.

 But iBATIS looks for resource "OctopusService.exe.Log.xml" resource
and fails to found it.

 How could I configure VS 2003 to give my resources names in the iBATIS
format?

Thank you.




Mime
View raw message