SOLVED: static initialization of principal class in framework
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.