• 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: valueForBinding and indirectly referenced types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valueForBinding and indirectly referenced types


  • Subject: Re: valueForBinding and indirectly referenced types
  • From: Michael Sharp <email@hidden>
  • Date: Mon, 5 Oct 2009 11:04:06 +1000

OK it was just the act of casting Object (from valueForBinding) to my subclass which required access to my class hierarchy and non-exported jars. It's all trivial anyway as everything's exported as it should be..



On 04/10/2009, at 10:41 AM, Michael Sharp wrote:

Thanks Mike, that was it.

I'm curious as to why I don't get any build or runtime errors with synchronising components when these jars aren't exported, but once valueForBinding is introduced to the component it explodes. Is it possible there was always a potential for runtime issues but I hadn't come across it yet?

Sharpy..


On 04/10/2009, at 12:03 AM, email@hidden wrote:

This error means the class you are referencing refers to some other class in one of its method signatures (or inheritance tree) that your calling class can't find. This usually means you didn't export a jar file from the framework the referenced class is in. Go to the framework that contains the referenced class, open the build path prefernce panel on the project, go to Order and Export tab and make sure all the framework's jars are checked to be exported.

Sent from my iPhone

On Oct 3, 2009, at 5:28 AM, "Michael Sharp"<email@hidden> wrote:

I'm trying to change an existing component to be non-synchronising.

The component imports classes from my framework that extend classes from jar files that are included in my frameworks class path. My component only accesses methods from these subclasses.

When I cast the result of valueForBinding to one of these types eclipse gives me a build error about the build path not being complete - "The type 'some.class.from.jar' cannot be resolved. It is indirectly referenced from required .class files"

Eclipse 3.5.1
WOLips 3.5.5990
Wonder App & Framework (recent WOnder build)

Any thoughts?

Thanks,

Sharpy..
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >valueForBinding and indirectly referenced types (From: Michael Sharp <email@hidden>)
 >Re: valueForBinding and indirectly referenced types (From: email@hidden)
 >Re: valueForBinding and indirectly referenced types (From: Michael Sharp <email@hidden>)

  • Prev by Date: Re: ant build file size issue
  • Next by Date: accessing WO app without the need of a session....
  • Previous by thread: Re: valueForBinding and indirectly referenced types
  • Next by thread: Re: ant build file size issue
  • Index(es):
    • Date
    • Thread