Re: using custom Application class
Re: using custom Application class
- Subject: Re: using custom Application class
- From: Chuck Hill <email@hidden>
- Date: Tue, 21 Jun 2005 16:52:29 -0700
On Jun 21, 2005, at 4:48 PM, Art Isbell wrote:
On Jun 21, 2005, at 1:42 PM, Neil MacLennan wrote:
In your Groups&Files listing, head down to the "Executables" item,
open it
and "Get Info" (Apple-i) on the executable file (which will be the
name of
your project). In the resulting pop-up, choose the "Arguments" tab
and add a
new "Arguments to be passed on launch" parameter of:
-DWOApplicationClass=com.foo.bar.Application
Where com.foo.bar is your package name.
Because Chuck won't likely be answering this Xcode question,
I'll try :-)
Lol! I'm actually using xCode 2.1 at this very moment! It's better
but still vexing for me.
To avoid requiring a launch argument which could be forgotten
during deployment, double-click the top-level Xcode target (its
name is usually the project name). Click "Expert View" in the
"Settings" section. Set the value of WOAPPLICATION_CLASS_NAME
appropriately.
I went looking for that and could not find it. I just realized I'm
in a framework project. Doh!
Chuck
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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