Hi all,

I'm trying to add a custom resource type to my app's ClientBundle, and I'm
sure I'm missing something obvious.  I based my code on
TextResourceGenerator, but when I build gwtc complains:

 [ERROR] Line 3: The import java.net cannot be resolved
 [ERROR] Line 21: URL cannot be resolved to a type
 [ERROR] Line 38: URL cannot be resolved to a type

I believe this is because I'm using java.net.URL in the generator, and it's
not available in GWT's JRE emulation.  So I figure I need to use javac to
compile the generator classes, but what's the right way to set that up, both
in Eclipse and to compile on the command line?

(Oddly enough, although I see these errors in Eclipse somehow the build
muddles through and my custom resource works just fine when I run my app from
Eclipse.)

Is there a tutorial somewhere describing how to implement a custom resource?
 Where do I put the generator's source code, and how do I access it from my
GWT app?

Thanks!

                M.

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

Reply via email to