Protected access modifiers handled differently at runtime in XCode and Eclipse?
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