Doesn't matter. You won't be able to use java.io.File on the client.
You can't access the client's file system without using an Applet,
Flash, ActiveX, or other component to which the user has granted
permission.


On Tue, Mar 3, 2009 at 11:57 AM, Shawn Brown <big.coffee.lo...@gmail.com> wrote:
>
>> I have imported java.io.File but the GWT compiler gives me the
>> following error.....plz help....
>>
>>               No source code is available for type java.io.File; did
>> you forget to inherit a required module?
>
> How are you compiling?
>
> shell script or ant build?
>
> In either case, your .java file has imported the code but the build
> script or ant build doesn't know where to find java.io.File.  You'll
> have to pass in the .jar location to the script or ant build file.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to