[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

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!).
> 
>