Hello Petar, Thanks for quick reply. According to your opinion problem is not with eclipse but some days before I was using some other IDE(commercial) the same code was working. But this problem is arise when I started using ant to build the project. Let i will explain you the project. The project has two parts. One part is called En( EntityRelationshipManager). This project gives the base functionality for the core project GM. The project GM imports En.jar and The configuration for both the part is in same hibernate.cfg.xml file so i think that may not be the problem.
Regards, Vishakha On 19/12/05, Petar Tahchiev <[EMAIL PROTECTED]> wrote: > > On 19/12/05, vishakha sawant <[EMAIL PROTECTED]> wrote: > > > > Hi, > > I am newbie. I am using eclipse IDE 3.1 and Ant 1.6. This project is > > using > > hibernate for database persistancy. I have hibernate configuration file > > placed in classes/resources folder. I have one e.jar file which uses > this > > resource file to loadconfiguration of hibernate But after building with > > ant > > tool in eclipse that jar file is not able to get that > > hibernate.cfg.xmlfile(hibernate configuration file). please tell me > > what should i do? please > > help me. > > Any tutorial link about eclipse and ant will also do. > > > > Regards, > > Vishakha > > > > > I have used hibernate and I think you should place hibernate.cgf.xml in > the > root directory of your jar. In my opinion the problem is not in eclipse, > but > rather the way you package your jar file. Please post some of your code to > see it. > > -- > Regards, Petar! > >