For some reason Eclipse doesn't remember source lookup path for some java projects, and every time during debugging (after redeploying) I need to press "Edit source lookup path" button and add current project to the list.
Does anyone know how to make it remember selected source location?
EDIT: It is a tomcat project, built with ant. Eclipse version is 3.2.2
.classpath looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="web/WEB-INF/classes"/>
<classpathentry kind="lib" path="web/WEB-INF/lib/commons-collections-3.2.jar"/>
... bunch of libs here
</classpath>
UPDATE: I found required setting - it is under General Preferences -> Tomcat -> Source path.