All Things Techie With Huge, Unstructured, Intuitive Leaps

Eclipse Java -- Classes Will Not Build

We had an interesting problem.  After checking out the latest project out of our repository (Subversion), we couldn't get a build.  After a clean, the WEB-INF/classes directory was empty.  We checked the build path stuff under the project properties.  All was in order.  We rebuilt several times.  Nothing.

It turns out that somehow a corrupted .classpath file was checked into the main trunk.  This is the .classpath file automagically generated by Eclipse.  When we reverted to the previous version of the .classpath file, everything worked and we got a build.

Hope this helps someone.

No comments:

Post a Comment