FYI A guy on sourceforge apparently made some more changes because it wasn't working for him.
http://sourceforge.net/projects/gilead/forums/forum/957377/topic/3493335 On Dec 28 2009, 9:57 am, Trevor Skaife <[email protected]> wrote: > RB, > > That's odd you had an error at that line, though it probably is a > difference in the versions ofGileadwe are using. The classes were > created usingGilead1.2.3.823. But it's true if you are using GWT > 2.0.0 that line of code would never see the light of day. > > Trevor > > On Dec 25, 7:39 pm, Richard Berger <[email protected]> wrote: > > > > > Trevor: > > > Thank you for the post - it was a life saver. When I copied the java > > files to my system, I had a compiler error at line 161 of > > RPCCopy.java: > > return RPCCopy_GWT16.invoke(target, serviceMethod, args, > > serializationPolicy); > > The error was: > > The method invoke(Object, Method, Object[], SerializationPolicy) is > > undefined for the type RPCCopy_GWT16. > > > Since I am on GWT2, I figured I could replace that line with > > return null; > > > Seemed to work for me. > > > Thanks again for your work here! > > RB > > > On Dec 23, 6:02 am, Trevor Skaife <[email protected]> wrote: > > > > I'm just glad to see people are able to use my fix for usinggilead > > > with GWT 2.0.0 > > > > On Dec 22, 11:08 am, lucamen <[email protected]> wrote: > > > > > Thanks Josh!! That really help me a lot and now everything is working > > > > properly! > > > > > BTW Bruno (theGileadmain developer) wrote > > > > herehttp://sourceforge.net/projects/gilead/forums/forum/868076/topic/3484314 > > > > that a new release is coming "very" soon... so just wait and hope in a > > > > stable version that works with gwt2.0 > > > > > Thanks again and merry christmas! :-P > > > > > On 18 Dic, 22:53, Josh Martin <[email protected]> wrote: > > > > > > What worked for me was to add the files Trevor specified to 'my' > > > > > project, and not into the originalgileadsource directories. You > > > > > just have to make sure to match the original package directory he > > > > > specified of: src/com/google/gwt/user/server/rpc in your project > > > > > directory. Any project that you create now that uses the adapter4gwt > > > > > library should include those two files as source files as well. Your > > > > > application should compile with those source files in it, as long as > > > > > you have the adapter4gwt library files included (which you would have > > > > > to have to usegileadanyway). > > > > > > I, too, thought he meant to put them in the originalgilead > > > > > directories and recreate the entire adapter4gwt library, but after re- > > > > > reading what he suggested, I realized his real suggestion was far > > > > > easier. (Thanks Trevor!) > > > > > > Hope this helps, > > > > > Josh > > > > > > On Dec 18, 4:04 am, lucamen <[email protected]> wrote: > > > > > > > Hello, I'm working on a GWT 2.0 project with hibernate integration > > > > > > viaGilead. When I try to load data from database (on GWT 1.7 > > > > > > everything > > > > > > was working properly) I get this error "Parameter 0 of is of an > > > > > > unknown type 'java.lang.String/2004016611'" and googling I've found > > > > > > this thread. > > > > > > I downloaded these two files and put in > > > > > > src/com/google/gwt/user/server/ > > > > > > rpc under mygileadroot directory but nothing changes! > > > > > > > To be sure I've updated all my buildpath with the jars I need but > > > > > > the > > > > > > error still remain. > > > > > > > Do I have to ant build the adapter4gwt with these two new files and > > > > > > then add the new jars I get? > > > > > > > I've already tried but ant failed with this error: > > > > > > > build: > > > > > > [echo] adapter4gwt: > > > > > > /Users/lucame/Documents/workspace/Libs/gilead-1.2.3.823/adapter4gwt/build.x > > > > > > ml > > > > > > [javac] Compiling 6 source files to /Users/lucame/Documents/ > > > > > > workspace/Libs/gilead-1.2.3.823/adapter4gwt/classes > > > > > > [javac] /Users/lucame/Documents/workspace/Libs/gilead-1.2.3.823/ > > > > > > adapter4gwt/src/com/google/gwt/user/server/rpc/RPCCopy_GWT20.java:287: > > > > > > cannot find symbol > > > > > > [javac] symbol : constructor RPCRequest > > > > > > (java.lang.reflect.Method,java.lang.Object > > > > > > [],com.google.gwt.user.server.rpc.SerializationPolicy,int) > > > > > > [javac] location: class > > > > > > com.google.gwt.user.server.rpc.RPCRequest > > > > > > [javac] return new RPCRequest(method, parameterValues, > > > > > > serializationPolicy, 0); > > > > > > [javac] ^ > > > > > > [javac] 1 error > > > > > > > What should I do to get GWT 2.0 work withGilead? > > > > > > > ANY help would be VERY appreciate!! > > > > > > > Thanks, Luca. > > > > > > > On 10 Dic, 16:35, Trevor Skaife <[email protected]> wrote: > > > > > > > > I definitely should have worded that better. You did exactly what > > > > > > > I > > > > > > > wanted you to do, if you would put them in any other package it > > > > > > > wouldn't work. > > > > > > > > On Dec 9, 5:27 pm, "[email protected]" <[email protected]> > > > > > > > wrote: > > > > > > > > > Thanks!! Great work... > > > > > > > > > but what do you mean by "Once you get these files in your > > > > > > > > project just > > > > > > > > make sure to change the package accordingly." > > > > > > > > > all I did was put these files in > > > > > > > > src/com/google/gwt/user/server/rpc > > > > > > > > > should I do anything else? > > > > > > > > > - Bob > > > > > > > > > On Oct 18, 10:06 am, tskaife <[email protected]> wrote: > > > > > > > > > > Ok, well I found out that my changes to makegileadwork for > > > > > > > > > GWT 2.0 > > > > > > > > > didn't quite work, but I've been able to fix that. I also > > > > > > > > > notice that > > > > > > > > > I put the same two files up above, here are the 2 files to > > > > > > > > > download to > > > > > > > > > getgileadworking with GWT 2.0. > > > > > > > > > > RPCCopy.javahttp://trg-commons.googlecode.com/files/RPCCopy.java > > > > > > > > > > RPCCopy_GWT20.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java > > > > > > > > > > Once you get these files in your project just make sure to > > > > > > > > > change the > > > > > > > > > package accordingly. > > > > > > > > > > On Oct 9, 1:35 pm, tskaife <[email protected]> wrote: > > > > > > > > > > > I just updated toGWT 2.0ms1 and noticed that I was getting > > > > > > > > > > an error > > > > > > > > > > that the constructor for RPCRequest doesn't exist (the > > > > > > > > > > constructor now > > > > > > > > > > inclues a int flag parameter). > > > > > > > > > > > java.lang.NoSuchMethodError: > > > > > > > > > > com.google.gwt.user.server.rpc.RPCRequest.<init>(Ljava/lang/reflect/ > > > > > > > > > > Method;[Ljava/lang/Object;Lcom/google/gwt/user/server/rpc/ > > > > > > > > > > SerializationPolicy;)V > > > > > > > > > > > I was able to fix the issue by creating a new RPCCopy_GWT20 > > > > > > > > > > that > > > > > > > > > > passes a 0 for the flag parameter when it makes the > > > > > > > > > > RPCRequest. I also > > > > > > > > > > had to change RPCCopy class so that it can correctly > > > > > > > > > > recognize when > > > > > > > > > > you are usingGWT 2.0. Below are links to the 2 java files. > > > > > > > > > > > RPCCopy.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java > > > > > > > > > > > RPCCopy_GWT20.javahttp://trg-commons.googlecode.com/files/RPCCopy_GWT20.java > > > > > > > On 10 Dic, 16:35, Trevor Skaife <[email protected]> wrote: > > > > > > > > I definitely should have worded that better. You did exactly what > > > > > > > I > > > > > > > wanted you to do, if you would put them in any other package it > > > > > > > wouldn't work.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
