Prompted by my upgrade to Tiger, I dug in and got the XcodeIndex task from WOProject to work:
- Add this target to your project’s build.xml file.
- Make sure that the woproject.jar and cayenne.jar are in your class path. Either download WOProject and put the jars into /Developer/Java/Ant/lib/ or add the following to your CLASSPATH: /ECLIPSE_FOLDER/plugins/org.objectstyle.wolips.woproject_18.104.22.168/lib /ECLIPSE_FOLDER/plugins/org.objectstyle.wolips.cayenne_22.214.171.124/lib
- From the command line, cd to your project’s folder and run:
It should create an Xcode.xcode bundle in your project.
- Open the project in Xcode (ie: by clicking on Xcode.xcode/project.pbxproj). The Sources, Resources, and Frameworks groups should accurately represent your project.
- Open a Component from the Resources group. WOBuilder should find all of the Classes and Attributes. Rejoice! You only need to do this for the first component after opening a project. Xcode needs to be running but once you’ve established the communication between Xcode and WOBuilder you can hide or minimize it and continue to work in Eclispe/WOLips as usual.
- Re-run XcodeIndex whenever you add Components, Classes, or Frameworks to your project.
With XcodeIndex working, you will no longer need to apply the scary PrivateFrameworks hack for WOBuilder and EOModeler to operate correctly with Eclipse.