Re: A java package question
Re: A java package question
- Subject: Re: A java package question
- From: Art Isbell <email@hidden>
- Date: Thu, 17 Apr 2003 14:12:51 -1000
On Thursday, April 17, 2003, at 12:26 PM, Richard L. Peskin wrote:
I was under the impression (perhaps incorrectly) that I could name
packages arbitrarily (using the usual java naming conventions).
However, when I modified a WO Examples program (FileUpLoad) and renamed
the package, i.e.
package webobjectsexamples.fileupload --------> package
projectdirectory.filehandler
(differnt dir, different WOapp name)
I get the following load error " Can't load
webobjectsexamples.fileupload.Application class, exiting..."
In Project Builder, you need to redefine the value of the top-level
target's WOAPPLICATION_CLASS_NAME variable to
"projectdirectory.filehandler.Application". The WO bootstrap loader
assumes the fully-qualified name of the Application class is
"Application" unless told otherwise. In the FileUpload project,
WOAPPLICATION_CLASS_NAME has been set to
"webobjectsexamples.fileupload.Application".
Aloha,
Art
_______________________________________________
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.