you could compile your CLIENT classes with whatever java version you want, at the end javascript comes out. for the server part you have to compile binaries compatible to your server environment, you'd better write compilation script in ant so you can choose different targets for compilation processes, both running on java 6
watchout for generics and java 5 features like for loop, varargs etc, which are not supported < java 5, you may not use them in your server code, especially when working with GWT RPC, where u usually use a lot of generics. On 26 Okt., 11:00, Thomas Broyer <[email protected]> wrote: > On 26 oct, 07:37, Daniel Kurka <[email protected]> wrote: > > > If you have some restrictions on your code on the server side (beeing able > > to run in a 1.4 java enviroment) you can still use java 6 to run gwt. (and > > you should) just make sure to set your javac to compile with java 1.4 as > > target... > > True in theory, but wouldn't you have to recompile the GWT server > classes (RemoteServiceServlet et al.) with java 1.4 target as well? > (fortunately something easy to do) -- 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.
