Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Repair XCode 1.5 documentation and code completion' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Repair XCode 1.5 documentation and code completion
Authored by: hedgepig on Sep 01, '04 01:55:26PM
I tried running the shellscript that expands the jar archive for the API documentaion but I get the following errors:

java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/docs.jar (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at sun.tools.jar.Main.run(Main.java:185) at sun.tools.jar.Main.main(Main.java:904) java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/appledocs.jar (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:106) at java.io.FileInputStream.(FileInputStream.java:66) at sun.tools.jar.Main.run(Main.java:185) at sun.tools.jar.Main.main(Main.java:904)

And then when I click the HTML link in the Documentation Window of Xcode I see in the status line:
File not found: /Developer/ADC Rference..../doc/api/index.html
In the terminal I see that the symlink that should point to the appledoc directory just points to nowhere(the directory doesn't exist with the api documentation). The real api documentation is nowhere to be found.
anyone has experienced this? I am using xcode 1.5 and have not unpacked the java api before. maybe that is the problem

[ Reply to This | # ]
Repair XCode 1.5 documentation and code completion
Authored by: yuck72 on Sep 02, '04 05:40:37AM

That sounds like you updated your Java installation (1.4.2) without installing the corresponding Java Developer Tools (separate package available via ADC connect.apple.com (free membership is enough).

Installing a Java Update on the Mac is like installing a JRE on another system - but you want the Javadocs, headers, etc... Download the additional Java Developer package from ADC and install it, unpack the Javadocs with the provided shell script and try again



[ Reply to This | # ]
Repair XCode 1.5 documentation and code completion
Authored by: hedgepig on Sep 02, '04 08:51:29AM

Thanks, that did the trick!



[ Reply to This | # ]