Yeah, you'll need imports for any classes you reference in your class.

Though generally I avoid wildcard imports, and use 'Organize Imports' (Cmd + Shift + O) to keep things organized (see caveat* below). I also have a post save action to remove unused imports:



D

*Caveat on 'Organize Imports' if you work on a code base that is not your own - that you share with others - 'Organize Imports' will/may ad/remove/move imports possibly causing churn when you commit - so use cautiously.

Barry Starrfield <mailto:[email protected]>
October 17, 2015 at 12:06 PM
Frameworks are installed. I just changed the import to include com.webobjects.appserver.* and it’s working. Is that import normally necessary?


David LeBer <mailto:[email protected]>
October 17, 2015 at 12:02 PM
Barry,

Are the webobjects frameworks installed? And do your wolips.properties (Eclipse -> Preferences -> WOLips) point at their correct location?

D


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com

This email sent to [email protected]
Barry Starrfield <mailto:[email protected]>
October 17, 2015 at 11:58 AM
Hi,
I’m getting back into WO after more than a decade. I’m working through the tutorial at https://wiki.wocommunity.org/display/WEB/Your+First+Project+-+Hello+World and have run into a problem - namely WOActionResults is not being found by Eclipse (Mars, with the latest WOLips build, and the Wonder frameworks built on this Mac OS X box). Can you tell me what I’m doing wrong?
Thanks,
Barry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com

This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to