-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: AddDirectory
PostPosted: Wed Jan 25, 2006 12:25 am 
Beginner
Beginner

Joined: Tue Dec 20, 2005 9:40 pm
Posts: 20
I'm trying to specify a directory for my mappings. I have this:

config.AddDirectory(new System.IO.DirectoryInfo("c:\\MyWebApp\\Mappings"));

However, I get the error:

System.IO.FileNotFoundException: Could not find file "C:\WINDOWS\system32\Artist.hbm.xml".

So, it seems for some reason it's not reading the DirectoryInfo. I did a an .Exists on the DirectoryInfo and verified it's there.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 25, 2006 5:17 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Yes, there's a bug in the code, please report this in JIRA (it's enough to just write a minimal report), so that I don't forget to fix it in the future.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.