Child pages
  • Import an Xcode project into WOLips

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Project runs OK without fixing protected fields

...

7. Fix any build errors. At this point you need to fix any errors that may show up with a red x in your Problems tab or in the Package Explorer. You may need to move Java classes into appropriate packages or add any additional jars. Jars can be added to the build path by right-clicking on them and choosing Build Path->Add To Build Path. (If you have not included the PetStoreWOModel.framework as in point 4 above, entities like Order and Account will show as errors.) You might also need like to change some fields from private and protected to public if there are lots of 'no key' errors in your .wod files, although the project will run without correcting this (ms is going to fix this). (In a real project, you would write a getter right? This is needed to preserve encapsulation, ie., hide implementation, and enforce the principle of uniform access in languages, like Java, that distinguish fields from functions with '()' which exposes implementation.) Jars can be added to the build path by right-clicking on them and choosing Build Path->Add To Build Path

...

8. Create a Launch configuration. Choose Run->Debug... and select the WOApplication entry and create a new entry with right-click or by clicking the New button at the top of the dialog. Fill in the Name field, then click the Browse button and select your new project. Then click the Search button by the Main class: text field, and select your main application class. Click Debug and your WO Application should launch.

...