Bug 247608 - Editor cannot find te source for referenced libraries, containing a valid source location (based on an extended variable)
Summary: Editor cannot find te source for referenced libraries, containing a valid sou...
Status: VERIFIED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M5   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-09-17 04:29 EDT by Arjen CLA
Modified: 2010-01-25 05:51 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arjen CLA 2008-09-17 04:29:52 EDT
In my project I have some referenced libraries. However when I want to open a class of such a library, which contains a valid source location (which is based on a variable, extended with some folders to get at the right place) it will not be able to find it. After modifying the source location, it is able to find it. For example:

My source exists at: C:\mysource\somelib\src\java
I have a variable (called 'MY_SRC') pointing to C:\mysource

My source location is: /MY_SRC/somelib/src/java
After starting Eclipse it is not able to find the source for a certain class within that library. When I remove the last part of the path and make it '/MY_SRC/somelib/src' it is able to find it. However, after restarting eclipse it cannot find it again. So, after changing it back to '/MY_SRC/somelib/src/java' it is able to find it again. Currently I am continuesly switching between those two settings for all my referenced libraries.
Comment 1 Jerome Lanneluc CLA 2008-09-17 07:00:42 EDT
Unfortunately, I cannot reproduce the problem. Would you have an example project and source directory that show the problem? Also what is your Eclipse build id?
Comment 2 Arjen CLA 2008-09-22 02:34:02 EDT
The Eclipse build id is: I20080617-2000

I will attach a sample project later
Comment 3 Olivier Thomann CLA 2009-12-11 17:07:14 EST
Closing as WORKSFORME.
No project was attached.
Please reopen if you can provide more information or steps to reproduce.
Comment 4 Ayushman Jain CLA 2010-01-25 05:42:07 EST
verified for 3.6M5.
Comment 5 Srikanth Sankaran CLA 2010-01-25 05:51:32 EST
Verified.