Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355111 - [build path] Changes in Javadoc location aren't saved
Summary: [build path] Changes in Javadoc location aren't saved
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-08-18 12:03 EDT by Enrique Barbeito García CLA
Modified: 2011-11-08 02:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.