You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Roberto Rabe <ro...@apache.org> on 2005/05/02 04:34:28 UTC

Re: [Fwd: Re: Sharing Maps and Configs]

The SqlMap.config file goes with your assembly/"app".config or web.config
file.  If you use the "resource" attribute, the path will be from the
application base directory.  If you use the "url" attribute, then it is
the given url to the map file ("c:/projects/testproject/maps/test.xml").

Roberto

On Sat, April 30, 2005 17:02, Bob Hanson said:
> Should probably have said "the project that uses SqlMap.config"
> instead of contains.
>
> On 4/30/05, Bob Hanson <mn...@gmail.com> wrote:
>> > ...relative paths...
>> >
>> > <sqlMap resource="../../Maps/MSSQL/SqlClient/Account.xml"/>
>>
>> Before I reply again I'd better make sure that I'm not getting confused.
>> :)
>>
>> What are "relative paths" relative to? The location of SqlMap.config
>> or the location of the project that contains SqlMap.config (i.e. the
>> application's path)?
>>
>> Thanks,
>> Bob
>>
>