This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Erap, As you can guess, it is hard to give useful advice from a vague description. Unfortunately, I'm sure you don't have more information.
Try looking in the workspace directory from your operating system to confirm the files are really gone. Also, note you can do "replace with local history" within Eclipse to get files back that were in your workspace.
That happened to me too, but it was for properties files. When I put the properties files into a "source" directory, along with my Java source code, rebuilding the project copied them into the directory where compiled classes went.
That's a bit vague on my part, too, because I don't remember the details. However I have a project with Hibernate XML files too. They are supposed to be in the classpath, so I put them in the root of the project. They don't disappear.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Nov 08, 2006
The hibernate config files, mapping, and property file are all in classes folder.
I've checked the "replace with local history", and those files are not listed. I guess only the files that are explicitly deleted will be listed there.
I am using struts, apache tomcat, hibernate on this project and I am using eclipse.
To be honest, i have no idea which among those technologies is the culprit. I suspect though that during a restart of apache, this thing happen.
Please help guys! [ April 30, 2007: Message edited by: Erap Estrada ]
Joined: Jul 11, 2001
I think when Eclipse does a full build, it totally purges the classes folder.
Put them in a source folder instead. All non-class files from source folders are automatically copied into the class folder during build time.