Thursday, February 23, 2012

Re: GWT by hand (no xml configuration, no ant, no running gwt-dev.jar)

Jens, thanks for your reply.

For 1) I already have jetty and I've added the my servlet to Jetty's
context.

For 2+3) I'm sure I'll need gwt-dev and user in my class path. But I'd
like to do something that has a little more finesse than invoking the
main on their class. I'd really like to instantiate the classes I need
(or better yet, there is some factory I can instantiate in their jar).
But even if I call main, I'm pretty sure I need to have some XML
config file.

I just don't want to have an XML configuration, when I could tell GWT
about it programatically.

On Feb 22, 10:25 am, Jens <jens.nehlme...@gmail.com> wrote:
> 1) Just use any sort of embedded web server like jetty and let it serve the
> war folder of your GWT project.
>
> 2 + 3.) You will definitely need gwt-dev.jar & gwt-user.jar in your
> classpath and then you can use:
>    - com.google.gwt.dev.DevMode to run GWT's DevMode
>    - com.google.gwt.dev.Compiler to compile your Java files to JavaScript.
> Both classes have a main() method so you can directly execute them from
> command line as long as your classpath is correct and you provide the
> needed parameters.
>
> -- J.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment