Yes, the current revision in SVN has been broke since Tuesday
afternoon(?):

 http://issues.apache.org/jira/browse/IBATISNET-71#action_66212

A quick fix is to download a reivison from Monday:

svn co -r 171372
http://svn.apache.org/repos/asf/incubator/ibatis/trunk/cs/mapper/
IBatisNet-svn

--- Ted Husted <[EMAIL PROTECTED]> wrote:
> Speaking of the configuration files, I just updated to the last
> nightly build from the January release, and my configs aren't loading
> anymore. :(
> 
> ----
> 
>   ----> IBatisNet.Common.Exceptions.ConfigurationException : Unable
> to
> load file via resource "/Resources/Query/properties.xml" as resource.
> Cause : Could not find a part of the path
> "C:\Resources\Query\properties.xml".
>   ----> System.IO.DirectoryNotFoundException : Could not find a part
> of the path "C:\Resources\Query\properties.xml".
> 
> ----
> 
> We had defined resource="/ ... " to mean the respective project root,
> which varies between web projects and other types.
> 
> Are we using a different syntax now? 
> 
> We're trying to keep our XML resoruce files in "project" relative
> locations, rather than relative to wherever .NET wants to hide the
> binaries :)
> 
> My major configruation problem, and we run into the same problem with
> Spring.NET, is that
> 
> * my team is test-driven 
> * we need to use the same configuration files in test and web
> projects 
> 
> As a result, file-relative paths are usually not useful, since
> "relative" is relative to the project type. The path starts one place
> for web projects, and in another place for other projects.
> 
> Because of this, we are not able to use a typical Spring.net
> configuration. We have to use our own singleton to load the
> configuration for the test projects. (Using code I cribbed from
> iBATIS.)
> 
> IMHO, the two most important things about these configurations are 
> 
> * A consistent location that can be used with any project type,
> library, web, or win project
> * Being able to *not* keep original files under bin/Debug for any
> type
> of project
> 
> -Ted.
> 

Reply via email to