This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 39847 - [36cat] Cannot add more javadoc in manager
Summary: [36cat] Cannot add more javadoc in manager
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 3.x
Hardware: Macintosh Mac OS X
: P2 blocker with 3 votes (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 04:12 UTC by deeptinker
Modified: 2004-08-13 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deeptinker 2004-02-10 04:12:24 UTC
[ JDK VERSION : J2SE 1.4.2_02 ]

When I try to add the Java 1.4.2 javadocs via the Javadoc 
Manager, I have a lot of trouble. 

Most critical problem:  Choosing a folder of javadocs is not 
added to list of javadoc roots.

Other issues: 
- Remove button not immediately available (dup of issue 
33830?. 
- Dialog used for finding a folder is a "save as" dialog rather 
than a "open" dialog.
- Have to click on a dimmed out index.html file or add button 
never highlights.
- Choosing a folder never highlights the add button.

Workaround:  Go to the filesystem and add the folder with the 
Javadocs in it.  Then change the folder's properties to be only 
documentation.  Now go back to the Javadoc Manager.  New 
folder is now shown.  (Remove button is still dimmed out.)
Comment 1 Jan Pokorsky 2004-02-10 10:49:33 UTC
What build are you using?

Tome, could you look at it on Mac? On w2000 I can reproduce just the
issue with the disabled remove button. Everything else works for me.
Comment 2 Tomas Hurka 2004-02-10 11:42:28 UTC
It works for me too. I did the following:
1) opened Javadoc manager
2) click on 'Add Archive' button
3) select /Library/Java/Home/docs.jar
4) click on 'Mount' button
5) click 'Yes' to add docs.jar to documentation repository anyway.
6) select 'docs' as root offset for docs.jar
7) test javadoc search by using 'View -> Javadoc Index Search' search for JLabel

You are right that dialog used for finding a folder is a "save as" dialog.
Comment 3 deeptinker 2004-02-10 12:58:32 UTC
Tomas, what you did works fine.  However, that is not what I was testing.  Here are my 
steps:
1.  Open Javadoc Manager
2.  Click on the Add Folder button
3.  Navigate to /Developer/Documentation/Java/Reference/1.4.2/doc/api/index.html
Note - only when I click on the (dimmed out) index.html will the Add button become 
enabled.
4.  Click on Add, which returns me to the Javadoc Manager dialog.

The javadocs just added is not in the list.

Am I picking the wrong thing to add to the javadocs?  Is the Add button supposed to 
become enabled when I click on a folder?

Jan - I am using the official 3.6 Beta (I forgot to append version stuff in the original 
submission.

OS X 10.3.2
Java 1.4.2_03 (Production)
NetBeans 3.6 Beta
Comment 4 Tomas Hurka 2004-02-10 15:43:36 UTC
>Am I picking the wrong thing to add to the javadocs? 
You should pick folder /Developer/Documentation/Java/Reference/1.4.2/doc

>Is the Add button supposed to become enabled when I click on a folder?
Yes.
Comment 5 Jan Pokorsky 2004-02-10 17:06:01 UTC
Added back [36cat] prefix. It is used for some special query.
Comment 6 deeptinker 2004-02-11 02:09:51 UTC
OK, I think I figured it out.
1.  I went to the folder /Developer/Documentation/Java/Reference/1.4.2 and clicked on 
the directory "doc".

2.  At this point, the OK button stays disabled.

3.  Type a "d" in the Save As box.

4.  The OK button immediately becomes enabled.

5.  Type the rest of doc in the Save As box and click OK.

6.  Now the new javadoc directory shows up in the list.

Bottom line - clicking on the directory does not fill in the save as box, nor enable the OK 
button.  Typing the last node does.  (Does it work that way for you Tomas?)
Comment 7 Jan Pokorsky 2004-06-28 14:17:08 UTC
Closing as WONTFIX since the manager is not part of the product any more.