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

static initialization of principal class in framework


  • Subject: static initialization of principal class in framework
  • From: Tom Woteki <email@hidden>
  • Date: Tue, 14 Oct 2003 09:43:26 -0400

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.

  • Follow-Ups:
    • SOLVED: static initialization of principal class in framework
      • From: Tom Woteki <email@hidden>
  • Prev by Date: Re: OffTopic : OmniGroup WebObjects List
  • Next by Date: Re: did anyone solved my problem? -NSMutable array
  • Previous by thread: Re: OffTopic : OmniGroup WebObjects List
  • Next by thread: SOLVED: static initialization of principal class in framework
  • Index(es):
    • Date
    • Thread