• 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
Protected access modifiers handled differently at runtime in XCode and Eclipse?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Protected access modifiers handled differently at runtime in XCode and Eclipse?


  • Subject: Protected access modifiers handled differently at runtime in XCode and Eclipse?
  • From: Peter Newnam <email@hidden>
  • Date: Wed, 20 Aug 2008 16:04:04 +1000

Hi

I have a WebObjects projects which is being converted to Eclipse - on Mac. One of the defined components has 4 protected access variables. These 4 variables are bound to components in the html When in the binding view in Eclipse (WOlips perspective) an error is rightly picked up that the variables are not visible. If the errors are ignored and the application is run it fails at runtime because it can't find the variables. So far so good ....

XCode picks up no problems. Worse still, when it is run within XCode it works without any errors ?!?! This is after a clean (including deleting the build directory) and build. The war file created from XCode runs correctly on Tomcat (in Unix) without any problems as well ?!?! I even decompiled the component class to check that the variables access modifiers had not been changed by XCode. They had not.

So how is it possible that the application server can see the protected variables at runtime in XCode and Tomcat but not in Eclipse?

Any insight would be appreciated.

--

Regards,
Peter Newnam
Senior Analyst Programmer
University of Wollongong

_______________________________________________
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


  • Follow-Ups:
    • Re: Protected access modifiers handled differently at runtime in XCode and Eclipse?
      • From: Mike Schrag <email@hidden>
    • Re: Protected access modifiers handled differently at runtime in XCode and Eclipse?
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: migration and longText type
  • Next by Date: Re: Protected access modifiers handled differently at runtime in XCode and Eclipse?
  • Previous by thread: migration and longText type
  • Next by thread: Re: Protected access modifiers handled differently at runtime in XCode and Eclipse?
  • Index(es):
    • Date
    • Thread