java - Eclipse doesn't remember source lookup path -


For some reasons eclipse does not remember the source lookup path for some Java projects, and every time during debugging (rearrangement) ) I need to press the "Edit Source Search Path" button and add the existing project to the list.

Does anyone know how to make it the selected source space?

Edit: / strong> This is a tomato project, which is made with ant, the eclipse version is 3.2.2.

Slashpath looks like this:

  & lt ;? Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; Classpath & gt; & Lt; Classpathentry kind = "con" path = "org.eclipse.jdt.launching.JRE_CONTAINER" /> & Lt; Classpathentry kind = "src" path = "src" /> & Lt; Classpathentry kind = "output" path = "web / web-nf / class" /> & Lt; Classpathentry kind = "lib" path = "Web / Web-NAF / Lib / Commons-collection-3.2.jpg" /> ... group of Libs here & lt; / Classpath & gt; Update :  I found the required settings - it is under General preferences -> Tomcat -> Source path. 

Try to see run / debug configuration for what you are performing, and the source tab Check it out. You can add elements manually, but it is not really recommended.

The elements in the source tab are based on the classpath of the project in which you run. In the case of moving totals, the source path contains all the web projects that belong to tomcat (and their dependence).


Comments