If you want to set the base path, you could use a property variable.


BasePath="file://var/config/ibatis/"

<sqlMap url="" href="file:///c:/config/Customer.xml" target="_blank">${BasePath}/config/Customer.xml " />

Clinton


On 9/6/05, Koranda Matthew James <[EMAIL PROTECTED]> wrote:
The developer guide also gives this example:

<sqlMap url="" href="file:///c:/config/Customer.xml">file:///c:/config/Customer.xml " />

if this is what you want but it doesn't seem as portable. Is this what
you mean?

Matt

-----Original Message-----
From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED]]
Sent: 6. september 2005 10:51
To: [email protected]
Subject: Re: search path for mapping files

On Tue, Sep 06, 2005 at 10:42:07AM +0200, Koranda Matthew James wrote:
> I bundle the files along side my class files and jar the whole thing
> together. Just add the full paths in you config:
> <sqlMap resource="package/structure/here/GeneralReport.xml"/>
> Is that what you mean?

Not really, I don't want to jar the config for now and put it in the
classpath, I'm in development stage and would like to speed up changed
as much as possible :)

--
Eugene N Dzhurinsky

Reply via email to