Hi Ken,

Seems like there are two separate issues you're pointing out:

(1) The Eclipse validation is missing some classes that GWT really doesn't
allow, and
(2) java.net used to work in GWT, but not anymore?

If that breakdown is accurate, would you mind opening a bug for (1)?

Someone from the GWT team can give you an answer for (2).

Thanks!
jason

On Mon, Sep 21, 2009 at 12:04 PM, ken <[email protected]> wrote:

>
> Hi,
>
> I seem to have an issue with the Google Plugin Hosted Mode and
> java.net on a Mac OS X 10.5.8.
> I have Eclipse Galilio with:
>    Google App Engine Java SDK 1.2.5
>    Google Plugin for Eclipse 3.5
>    Google Web Toolkit SDK 1.7.0
>
> I created a new default GWT/AppEngine project (both checked) named
> TestOne with package minman.
> I set out to try to add a simple URL Fetch call to the generated entry
> point class TestOne.java.
> In the class TestOne.java, the only added code is these additional
> imports at the top:
>
> import java.io.BufferedReader;
> import java.io.IOException;
> import java.io.InputStreamReader;
> import java.net.MalformedURLException;
> import java.net.URL;
>
> The Eclipse editor does NOT complain about these.
> I'm using the Mac JVM 1.5.0 MacOS X default in Eclipse.
>
> However, when I try to Debug or Run the TestOne app, the Google Web
> Tookit Hosted Mode panel shows the following (in red after the first):
>
> Initializing AppEngine server
> Loading an instance of module 'testone'
>   Refreshing module from source
>      Validating new compiled units
>         Removing Units with errors
>            Errors in 'file:/blah...blah/TestOne/src/minman/client/
> TestOne.java
>               Line 6: The import java.net cannot be resolved
>               Line 7: The import java.net cannot be resolved
> .....etc....
>
> [Of course, the app works ok without the 2 'import java.net.*'  lines
> listed above.]
>
> Also, I have code in other Java projects including those two import
> lines and which compiles and runs fine under Eclipse 3.3.
>
> Can this be resolved??
>
> Thanks in advance,
> Ken Bowen
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to