Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355111

Summary: [build path] Changes in Javadoc location aren't saved
Product: [Eclipse Project] JDT Reporter: Enrique Barbeito García <ebarbeito>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, deepakazad
Version: 3.8Keywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Enrique Barbeito García CLA 2011-08-18 12:03:16 EDT
Build Identifier: 20110615-0604

Using Android SDK i can't access to its Javadoc documentation, i get this message when i try: "Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc.". So I opened project properties for checking Java Build Path -> Libraries -> Android 2.2 -> android.jar -> Javadoc location. Path is incorrect:

file:/C:/PROGRA~1/Android/android-sdk/docs/reference

I'm using Windows 7 64bit and I have Android SDK installed in C:/PROGRA~2/Android/android-sdk/docs/reference

Well, when i edit location, browse to correct path, validate correctly new path and finally accept changes clicking Ok button, Eclipse doesn't save the change. When i reopen project properties and check again Javadoc location, this is not changed.

Some shots:
- http://s3.postimage.org/5jpg843gf/step1.png (before changing path)
- http://s3.postimage.org/5jpjj6sfz/step2_1.png
- http://s3.postimage.org/5jpl6q4xr/step2_2.png
- http://s3.postimage.org/5jpmu9hfj/step3.png (after changin path, eclipse didn't save it)

Reproducible: Always

Steps to Reproduce:
1. Open project properties
2. Go to Java Build Path -> Libraries -> Android 2.2 -> android.jar -> Javadoc location
3. Edit Javadoc location path
4. Browse for new path, validate it correctly
5. Press OK button for two times, saving (allegedly) changes
6. Go again to Javadoc location path for checking that changes weren't saved
Comment 1 Dani Megert CLA 2011-08-19 03:23:12 EDT
I see that the JAR is in a class path container provided by Android.

Can you test for me, whether it saves the location when doing it on a normal 'JRE System Library' or on the  rt.jar?
Comment 2 Deepak Azad CLA 2011-10-19 01:54:59 EDT
(In reply to comment #1)
> Can you test for me, whether it saves the location when doing it on a normal
> 'JRE System Library' or on the  rt.jar?
Ping
Comment 3 Dani Megert CLA 2011-11-08 02:14:34 EST
.