RequestFactory cannot find Entity

2011-08-29 Thread Rud
I have been experiencing something strange with ReuqestFactory. Some
detials:

Helios Eclipse
GWT 2.3 / GAE 1.5.1
JDK 1.6

I have a Person with PersonProxy and PersonRequest. These use the
simple @ProxyFor(Person.class) and @Service(Person.class).

I started up Eclipse and before doing anything else ran the
application. It ran fine. I've been trying to get something working on
the server side so added a jar to the Refed libs and copied it to the
WAR.

I get the meesage that PersonProxy and PersonRequest (they are in
us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are
compile errors, not run-time errors.  That worked fine a minute ago.

I move Person to us.k5rud.shared. It works but I've been experiencing
this issue at other times so want to know why it occurs so try
us.k5rud.shared.domain.Person. Can't find when it runs or if I do a
compile. Move it back to just us.k5rud.shared. That doesn't work until
I do a compile.

I have done Project | clean on each of these. Also shut down the
running development mode instance and restarted a fresh version.

Sometimes the Proxy  Request classes cannot find the entity with the
auto build and I get errors then. Sometimes it doesn't show up until I
run the app. It is just very flaky so anyone have ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory cannot find Entity

2011-08-29 Thread Thomas Broyer


On Monday, August 29, 2011 8:54:12 PM UTC+2, Rud wrote:

 I have been experiencing something strange with ReuqestFactory. Some 
 detials: 

 Helios Eclipse 
 GWT 2.3 / GAE 1.5.1 
 JDK 1.6 

 I have a Person with PersonProxy and PersonRequest. These use the 
 simple @ProxyFor(Person.class) and @Service(Person.class). 

 I started up Eclipse and before doing anything else ran the 
 application. It ran fine. I've been trying to get something working on 
 the server side so added a jar to the Refed libs and copied it to the 
 WAR. 

 I get the meesage that PersonProxy and PersonRequest (they are in 
 us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are 
 compile errors, not run-time errors.  That worked fine a minute ago.


You might be experiencing 
http://code.google.com/p/google-web-toolkit/issues/detail?id=5587 but you 
can safely ignore the error.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vvjYyP8JIL8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory cannot find Entity

2011-08-29 Thread Rud
No, the error cannot be ignored. The app will not run when the error
is generated. The error occurs not only with auto-build but also when
running the app or doing a GWT compile.

On Aug 29, 4:41 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On Monday, August 29, 2011 8:54:12 PM UTC+2, Rud wrote:

  I have been experiencing something strange with ReuqestFactory. Some
  detials:

  Helios Eclipse
  GWT 2.3 / GAE 1.5.1
  JDK 1.6

  I have a Person with PersonProxy and PersonRequest. These use the
  simple @ProxyFor(Person.class) and @Service(Person.class).

  I started up Eclipse and before doing anything else ran the
  application. It ran fine. I've been trying to get something working on
  the server side so added a jar to the Refed libs and copied it to the
  WAR.

  I get the meesage that PersonProxy and PersonRequest (they are in
  us.k5rud.shared) cannot find Person (in us.k5rud.domain).These are
  compile errors, not run-time errors.  That worked fine a minute ago.

 You might be 
 experiencinghttp://code.google.com/p/google-web-toolkit/issues/detail?id=5587but
  you
 can safely ignore the error.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory cannot find Entity

2011-08-29 Thread Thomas Broyer
But can't you bypass the error and continue with the DevMode launch?

Workaround: replace @ProxyFor with @ProxyForName.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Xe96mWjfNxQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: RequestFactory cannot find Entity

2011-08-29 Thread Rud
Yes, I could bypass the error but when the app attempts to perform the
RequestFactory activities it throws exceptions that Person cannot be
found. The Person data is not saved or retrieved.

I'll try the other version of the annotation. Of course, since posting
this message it has behaved itself.

On Aug 29, 5:10 pm, Thomas Broyer t.bro...@gmail.com wrote:
 But can't you bypass the error and continue with the DevMode launch?

 Workaround: replace @ProxyFor with @ProxyForName.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.