I seemed to have it working now, by putting in the servlet register code into the core.gwt.xml and not in the main app location.
But the weird thing is that when it loads I get all those errors still (the items not supported by GWT -- BufferedReader, java.net etc). But everything still seems to work. How do I tell it that it shouln't be looking in my core.server package? On Sep 18, 10:22 am, ben <[EMAIL PROTECTED]> wrote: > So I'm starting to get fancy with my organization with our could. We > actually have several GWT efforts going on, so we want common code > sets. We were able to break up our Client side code into seperate .jar > files, and include them into our overall applications just fine. Well > now, I've gone and blown it up. I'm trying to work around the SOP > issue, and just have all my requests that aren't on the server go to a > servlet, which will return the resulting page. > > The logic seems fine, but my issue is that this code is in our core > library. The core library now bombs when I run the application. It > can't find java.io.BufferedReader, File, etc. java.net, etc. > > The other one of note, which may be causing all my problems, is that > it cannot find the library com.google.gwt.user.server! > > I'm thinking this is because the core.server library, isn't actually > being run as if it's on the server, and that may be because I haven't > registered the library correctly. The properties of core include the > libraries to gwt-user and gwt-server. Inside the main app we have a > core.gwt.xml which inherits the User, XML, HTTP, and I18N (don't know > if I need all those anymore, but I've been trying various stuff), plus > points the sourch path to our corejs library. > > This core.gwt.xml file is inherited inside of our overall application. > > Note, all this worked fine, until I added the server side stuff. I'd > like to be able to register my IMPL class if needed no my overall app > ( I put a servlet path reference to it, which I don't think is the > problem, yet anyway) I still have to get past the compile errors. > I'm guessing I'm missing some implementation somewhere. Any help > would be greatly appreciated. > > PS. I'm using eclipse and GWT 1.4.6 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
