• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc.


  • Subject: Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc.
  • From: LD <email@hidden>
  • Date: Fri, 4 Mar 2005 07:26:56 +1100

Hi there,

On 03/03/2005, at 11:07 AM, David Ewing wrote:

I'm pretty sure this has been discussed a few times on this list in the past, but I didn't find much with a (very) quick Google search.

Yes, I'd google'd and saw a thread with a similar subject - but no real solutions were given.


The basic issue is you need a step 5.5. The WebObjects index templates did not have the JDK jar files added to them (this is fixed in Tiger). Simply open them and add [the following] to the projects [and] repeat the second part of step 6[:]
"/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar" and
"/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar" .

Ahh yes, and the Java Template Index Project had these linked to /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Classes/*.jar

So any of the Java based templates needed fixing - and then after reindexing it's all good.

Thanks very much. Now - it would be nice for others who would like to venture down this road on Panther to have this documentation available from Apple than trying to stumble around in the dark, no? It'd also be good if the ADC supplied Java 1.4.2 Update 1 (Developer) Upgrade was upgraded for Java 1.4.2 Update 2 so that for those use the Software Update utility won't get caught out.

I've updated the below for anyone else who happens to google for it...

On 03/03/2005, at 8:21:35 AM, Lachlan Deck wrote:

Step 1:
    - Install Mac OS X 10.3
    - Install Xcode Developer tools CD
    - 5.2 Developer CD

Step 2:
    - 10.3.8 Combined Update
    - Xcode 1.1 Update
    - 2004 Security Updates

Step 3:
- Java 1.4.2 Update 1
- Java 1.4.2 Update 1 (Developer) [from ADC]
# Note: installing Java 1.4.2 Update 2 prior to this (as Software Update wants to do) will break things.
- WebObjects 5.2.2 Developer Update


Step 4:
    - Java 1.4.2 Update 2
    - WebObjects 5.2.3 Developer Update
    - 2005 security Update

Step 5:
    - Xcode Tools 1.5 CD Image
    - Follow Release Notes Fixes for WebObjects
- Run the following command from the terminal to update all relevant java VM info in all index templates.

$ sudo sh
$ for prj in `ls /Developer/Extras/Xcode\ Index\ Templates`; do if [ -d /Developer/Extras/Xcode\ Index\ Templates/$prj/$prj.xcode ]; then cd /Developer/Extras/Xcode\ Index\ Templates/$prj/$prj.xcode; cat project.pbxproj | perl -e 'while (<STDIN>) { chomp; s|JavaVM.framework/Versions/1.4.1|JavaVM.framework/Versions/ CurrentJDK|; print "$_\n"; }' > project.pbxproj; fi; done


Step 6:
- sudo /Developer/ADC Reference Library/Java/scripts/unjarJavaDocumentation.sh
- cd "/Developer/Extras/Xcode Index Templates" && ./install_templates

with regards,

--
Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc. (From: LD <email@hidden>)
 >Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc. (From: David Ewing <email@hidden>)

  • Prev by Date: Re: limits.h
  • Next by Date: Re: limits.h
  • Previous by thread: Re: Help with Java, Xcode, CodeSense, java docs, WebObjects, etc.
  • Next by thread: limits.h
  • Index(es):
    • Date
    • Thread