• 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
SOLVED: static initialization of principal class in framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SOLVED: static initialization of principal class in framework


  • Subject: SOLVED: static initialization of principal class in framework
  • From: Tom Woteki <email@hidden>
  • Date: Tue, 14 Oct 2003 10:47:36 -0400

NSPrincipalClass must be added to Info.plist

T

On Oct 14, 2003, at 9:43 AM, Tom Woteki wrote:

I am trying to statically initialize a class in a WO (5.2.1) framework. I have a static block in my class that is the code I would like to have executed.

I have added a file called CustomInfo.plist to the Resources group in my framework and added it to the Application Server target. The file's contents are:

{
NSJavaAware = YES;
NSJavaNeeded = YES;
NSPrincipalClass = myPackageName.myClassName;
}

The init code is not being executed. Is it possible to do what I want and if so what am I doing wrong?

Thank you,

Tom
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >static initialization of principal class in framework (From: Tom Woteki <email@hidden>)

  • Prev by Date: Re: did anyone solved my problem? -NSMutable array
  • Next by Date: Re: WOBuilder JSImageFlyover cannot be a submit button
  • Previous by thread: static initialization of principal class in framework
  • Next by thread: Re: WOBuilder JSImageFlyover cannot be a submit button
  • Index(es):
    • Date
    • Thread