Re: Error in Eclipse after migrating XCode project

2008-04-06 Thread Kevin Windham


On Apr 6, 2008, at 1:56 AM, Guido Neitzer wrote:

On 05.04.2008, at 22:34, Kevin Windham wrote:


I'm getting an error that I can't figure out. The message is:

"There is no key 'user' for the keypath 'session' in HSCWrapper."

In my Session.java file I have this.

public User user;

This code was working fine before the migration. When I reenter the  
binding, session.user,  I can use autocomplete to enter it, but I  
still get the error.


I have a lot of these errors listed in other files where I access  
other variables from the session.


Often these errors go away after a clean.


That seems to have fixed the problem. I didn't even think about the  
old clean trick. I guess some things don't change. ;-)


Thanks,
Kevin
___
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 [EMAIL PROTECTED]


Re: Error in Eclipse after migrating XCode project

2008-04-06 Thread David Avendasora
I'm guessing that the Session class that your application is using is  
NOT _your_ Session class but a Session class from one of the  
frameworks you are using.


Xcode didn't use packages, but when you migrated to WOLips, you  
probably did put your classes in packages (as you should). Since and  
everything was together it would automatically pick the right Session  
class without an import statement. If everything is now in packages,  
you probably had to add import statements to your classes to get to  
the Session since it probably isn't in the same package anymore. You  
may have simply picked the wrong one.


Double check your import statements in HSCWrapper and make sure you're  
importing the right one. (Not the one from JavaMail, for example).


Dave

On Apr 6, 2008, at 12:34 AM, Kevin Windham wrote:


I'm getting an error that I can't figure out. The message is:

"There is no key 'user' for the keypath 'session' in HSCWrapper."

In my Session.java file I have this.

public User user;

This code was working fine before the migration. When I reenter the  
binding, session.user,  I can use autocomplete to enter it, but I  
still get the error.


I have a lot of these errors listed in other files where I access  
other variables from the session.


TIA,
Kevin
___
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/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]




___
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 [EMAIL PROTECTED]