• 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: A java package question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >A java package question (From: "Richard L. Peskin" <email@hidden>)

  • Prev by Date: A java package question
  • Next by Date: packages and WOBuilder keys
  • Previous by thread: A java package question
  • Next by thread: packages and WOBuilder keys
  • Index(es):
    • Date
    • Thread