[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: No Source files in debugger for classes imported as folder-library in Integration build 20011116

I think I can make my situation more clear as in the previous message:

I can see the source code, if I use the follwoing class file 
for my 1. project:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>
    <classpathentry kind="src" path="src"/>
    <classpathentry kind="src" path="/Neze-PC"/>
    <classpathentry kind="output" path="dir.class"/>
</classpath>

And: It is not sufficient to add the project 2 to the "Debuggers Source
Lookup Path" in the properties dialog of the first project (I think that
should work in each case - even if the IDE don't use the source folder 
associated with the classes of the second project to extend the debugger 
source lookup path for executeable classes of the first project)

Can you feel what I mean - its probably impossible to know what I mean :-(

Thanks

On Thu, 29 Nov 2001 21:28:18 +0100, mle wrote:

> As clarification I add the .classpath files of the projects I mean and
> add a few comments. <!-- .... -->
> 
> The .classpath file of my first project
> 
> <?xml version="1.0" encoding="UTF-8"?> <classpath>
>     <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT"
>     sourcepath="JRE_SRC"/> <classpathentry kind="src" path="src"/>
>     <classpathentry kind="lib" path="/Neze-PC/dir.class"/> <!-- The
> source of a class loaded with this path is not visible in the debugger
> -->
>     <classpathentry kind="output" path="dir.class"/>
> </classpath>
> 
> The .classpath file of my second project
> 
> <?xml version="1.0" encoding="UTF-8"?> <classpath>
>     <classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT"
>     sourcepath="JRE_SRC"/> <classpathentry kind="src" path="/Neze"/>
>     <classpathentry kind="src" path="src"/> <classpathentry
>     kind="output" path="dir.class"/>
> </classpath>
> 
> I should add that I use a URLClassLoader to load the classes. If more
> clarification is needed let me know.
> 
> --------------------------------------------------------------------------
> By the way I still have another unimportant problem: If I remove
> manually all class-files from the workspace have "rebuild all" one time
> and get many errors. Now I do nothing but a second rebuild all and all
> errors disapear. Sometime in the past there are three complete rebuilds
> needed.
> 
> What I believe is that the reason of this is somekind of circular
> project dependencies like in the files added above.
> 
> I reported this in the past but I can't assit in tracking this bug donw
> becuase I have 10 Project (or so) with a few thousand classes and it's
> to time consuming to isolate the problem - sorry. But this behaviour is
> absolutly reproducable!!! (at my system).
> --------------------------------------------------------------------------
> 
> On Thu, 29 Nov 2001 18:39:49 +0100, Darin Wright wrote:
> 
>> I need to clarify this problem...
>> 
>> It sounds like you are:
>> * creating a folder in the workpace that contains ".class" files *
>> specifying the folder as a library
>> 
>> But, did you also import the ".java" files to the same folder?
>> 
>> Darin
>> 
>> "mle" <mle@xxxxxxx> wrote in message news:9u559k$sms$1@xxxxxxxxxxxxxxxx
>>> There are some bug reports in bugzilla with the theme "missing source"
>>> but I can't identify that one with my problem.
>>>
>>> Now some detail: I get no source files in debugger for classes
>>> imported as folder-library in Integration build 20011116, but I can
>>> see them if I
>> import the
>>> complete project which host the class folder (note: I use differnet
>>> folders for sources and classes and the class-folder is named
>>> dir.class - don't ask why!).
>> 
>>