Bug 13252 - Javadoc: problems with spaces in destination name
Summary: Javadoc: problems with spaces in destination name
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M5   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-10 09:21 EDT by Andre Weinand CLA
Modified: 2002-04-17 22:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Weinand CLA 2002-04-10 09:21:42 EDT
1) open javdoc wizard on project
2) enter destination name where the last folder name contains a space character
3) 'finish' the wizard
4) select a class with javadoc within that project
5) from context menu select 'Open external javadoc'
-> a help viewer appears showing the folder containing the javadoc
   as iconic 'files and folders' (and not html)
Comment 1 Martin Aeschlimann CLA 2002-04-11 05:06:16 EDT
help browser used
Comment 2 Martin Aeschlimann CLA 2002-04-11 05:06:36 EDT
moving to help
Comment 3 Martin Aeschlimann CLA 2002-04-11 05:18:57 EDT
note that I am using IHelp.displayHelpResource(IHelpResource),
(IHelpResource.getHref() {
  return url.toExternalForm();
)

with
IHelp.displayHelpResource(url.toExternalForm())
things work, but then I run into the javascript access error, which isn't there 
with the first method
Comment 4 Martin Aeschlimann CLA 2002-04-11 06:42:22 EDT
for M5 I change out code to
IHelp.displayHelpResource(url.toExternalForm())
Comment 5 Dorian Birsan CLA 2002-04-11 09:58:47 EDT
There is a bit of inconsistency in the way we handle url's. In some cases we 
call URLEncoder.encode(urlstring), in other cases we don't. It is also 
difficult to know whether the caller has already encoded his url or not. 
Perhaps we should just be consistent and always encode them. 
Comment 6 Dorian Birsan CLA 2002-04-17 22:32:07 EDT
Fixed.
There is now an "Access Denied" error when displaying javadoc inside help but 
this is caused by the buggy html generated by the standard doclet.