Re: help for newbie with WO Apple example on Eclipse+WOLips
Re: help for newbie with WO Apple example on Eclipse+WOLips
- Subject: Re: help for newbie with WO Apple example on Eclipse+WOLips
- From: Lachlan Deck <email@hidden>
- Date: Tue, 12 Feb 2008 06:14:50 +1100
Hi Luigi,
(let's keep this on-list so that others can benefit)
On 11/02/2008, at 8:59 PM, Luigi Giannini wrote:
Thanks Lachlan,
I understand that but I have only :
1- my browser open
http://192.168.1.3:65150/cgi-bin/WebObjects/HelloWorld.woa and tell
me: java.lang.IllegalStateException: Unable to find framework named
"HelloWorld".
Hmm.
the command "Run As>WOApplication" give me a windows (attached) named
"Select Java Application" with a double * on the default line and a
long list at "Matching items" and I can see the sample code build and
run ONLY if I select the matching items: "WOApplication -
com.webobjects.appserver" but this step is not anywhere mentioned. Is
a behavior generated by my configuration or normal thing for daily
Eclipse+WOLips coder?
Don't select com.webobjects.appserver.WOApplication. Select
'Application' that's created in your project (assuming you didn't
create a framework project).
2- my browser open
http://192.168.1.3:65159/cgi-bin/WebObjects/WOLispTest.woa without
errors (is the example on ObjectStyle wiki) but I want build and run
HelloWorld !
This result following the respectively steps:
1- Run As>WOApplication then select Application -
webobjectexamples.helloworld
2- Run As>WOApplication then select WOApplication -
com.webobjects.appserver
Please suggest me a solution!
Is very boring not be able to run a very basic HelloWorld example!
Yes, I'm certain it is. But hang in there... it'll be something simple.
If the above still doesn't work for you, go to Window > Customize
perspective... and in the 'Shortcuts' tab, with 'New' selected in the
popup, scroll down in the shortcut categories to 'WOLips'. Tick all
the ones that are unticked. Click OK.
Now, for step 5, in the previously mentioned Howto, create a
WOnderApplication instead of a WOApplication. Change the superclasses
of Application and Session to WOApplication and WOSession
respectively (basically copy them over from your other attempt). This
will give you a project with a file layout that's common to what most
people are using. You might want to think about using WOnder - but
let's get hello world up first.
See how that goes...
with regards,
--
Lachlan Deck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden