• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: using custom Application class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: using custom Application class (From: Neil MacLennan <email@hidden>)
 >Re: using custom Application class (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Would somebody post when Safe to Upgrade to WO 5.3
  • Next by Date: Re: WebOjects 5.3 shows version 5.2
  • Previous by thread: Re: using custom Application class
  • Next by thread: Re: using custom Application class
  • Index(es):
    • Date
    • Thread