You should take a look at
gwt-exporter<http://code.google.com/p/gwt-exporter>project.
Specifically, see the sample
code<http://code.google.com/p/gwt-exporter/source/browse/#svn/trunk/samples/src/exporterdemo/client>.


>From the projects documentation -

> (gwt-exporter is) a generator capable of taking GWT classes and exporting
> them as ordinary Javascript APIs callable from hand-written Javascript
> without JSNI, and suitable for use in mashups.
>

Essentially, you create a normal GWT project and annotate the classes you
want to use from hand-written javascript. That's about it.

--Sri



On 7 May 2010 02:15, Gabe <g...@catluck.com> wrote:

> I'd really like to use the gwt java-to-javascript compiler outside of
> a project, and interface it with non-gwt javascript code.
>
> I've read this is possible, but I've never found the process
> accurately documented.  Has anyone done this?
>
> Does google plan on making the compiler more robust and independent?
> I'd love to cross compile java components into javascript without
> having to build them into a full gwt app.
>
> Thank you.
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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