Skip to content

Eclipse/WOLips tips

I have been running a WebObjects introduction course this week, using Eclipse (as I have been for the past several years). As I don’t always use Eclipse for development, this has served to remind me of a lot of basic functionality that I otherwise will forget between courses. If anyone is interested, I have a lot of projects that I continue to maintain using Xcode on MacOS X 10.4, as there is no reason to port them.

Cmd-shift-l shows all current shortcuts for Eclipse.

Make sure you use the WOLips perspective (need to switch between WOLips and Entity Modeler)

auto-complete: ctrl-. suggestions on ctrl-” ” (but watch out for Spotlight, may need to disable); and may be issues with component editor.

missing imports? Use cmd-1 (“quick fix”)

Edit->Refactor->Add Action…/Add Key… -> but only while in Component Editor, else have to use ??

documentation? Buggy, usually doesn’t work – but see Library/wobuild.properties
links for Dynamic Elements pdf and ADC WO javadoc

http://developer.apple.com/legacy/mac/library/documentation/WebObjects/Reference/DynamicElements/DynamicElements.pdf
http://davidleber.net/wp-content/uploads/2008/05/wolipscheet.pdf
http://wiki.objectstyle.org/confluence/display/WOL/WOLips-Eclipse+beginner+mistakes+and+questions

EOGenerator… make sure you create an eogen file when you create an EOModel, and right click to run generation (may be automatic, depending on version of WOLips?)
click on database config to enter jdbc URL, etc
give Class names with the package as prefix

problem with eogen and generics support: open Eclipse prefs for EOGenerator, and check “use 1.4 templates”

http://wotutorial.furfly.com/downloads.html
http://wiki.objectstyle.org/confluence/display/WOL/Tutorials
http://developer.apple.com/legacy/mac/library/documentation/DeveloperTools/Conceptual/WOTutorial/WOTutorial.pdf
https://venus.cs.ttu.edu/groups/webobjects/wiki/761ea/attachments/56ed6/WOTutorial.pdf (D2W)

add framework (eg javaWOExtensions): project properties->java build path, edit Libraries, etc

{ 2 } Comments

  1. Ray Kiddy | January 18, 2010 at 12:11 am | Permalink

    Hey there. Thanks for posting this. It reminded me to check a few things and I updated some of the outdated info on the wiki pages. FYI, the https://venus.cs.ttu.edu URL is giving me a 404.

    cheers – ray

  2. paul | January 18, 2010 at 12:51 am | Permalink

    I’m not able to contact the site; I’ll give it some time before I remove the URL, it was a sort of lucky find on Google several months ago.

Post a Comment

Your email is never published nor shared. Required fields are marked *