Re: regular deployment vs tomcat deployment .. UnknownKeyException

2011-05-28 Thread EMail Archive
Nothing like a night's sleep to clear the addled brain!  The problem
was my build generating a classpath file with truncated paths for the
application resources.  It generated:

WEBINFROOT/Resources/Java/
WEBINFROOT/Resources/Java/appo.jar
WEBINFROOT/Appo/Contents/Frameworks/CoreServices.framework/Resources/Java/coreservices.jar

instead of, of course:

WEBINFROOT/Appo/Contents/Resources/Java/
WEBINFROOT/Appo/Contents/Resources/Java/appo.jar
WEBINFROOT/Appo/Contents/Frameworks/CoreServices.framework/Resources/Java/coreservices.jar

Now to find where I corrupted the build.xml file ...
__

On Fri, May 27, 2011 at 8:01 PM, EMail Archive  wrote:
> I'm back in the world of webObjects after a couple of years and seem
> to have forgotten some basic things, or at least I suspect they are
> basic.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


regular deployment vs tomcat deployment .. UnknownKeyException

2011-05-27 Thread EMail Archive
I'm back in the world of webObjects after a couple of years and seem
to have forgotten some basic things, or at least I suspect they are
basic.  I'm converting an application to live within Tomcat and it has
trouble starting up.  The first component is Main.wo and it's of the
form

Main.wod:


  
  

  


and MinimalPageWrapper.wod is of the form:

  


  
  

  

My error is as follows:
Error: com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException exception
Reason:
 takeValueForKey()]:
attempt to assign value to unknown key: 'css'.
This WOComponent does not have an instance variable of the name css or _css,
nor a method of the name setCss or _setCss' object
'' key 'css'>

It is, indeed, true that MinimalPageWrapper has no accessor for "css"
but it doesn't need them when it runs in Eclipse or via direct access
outside Eclipse (and if I add them, they are not called anyway).  As
noted, I suspect stupidity at work here but I've been banging my head
on this all afternoon and I'm now blind to the obvious -- your help
would be appreciated .. thanks, Gavin
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com