Sure. First, you're going to want to compile your application. If you have a Java backend then you'll want to <javac> your server-side and common (shared by client and server) class. Then you'll want to compile your GWT client with GWTCompiler. You can find previous discussions about doing this on the forum here. I also wrote about GWT compilation with Ant, and specifically a custom Ant task that I wrote for invoking GWTCompiler, here:
http://publicint.blogspot.com/2008/10/introducing-gwtcompilertask.html Next, if you're using a Java backend, you'll probably be building a .war file from the compiler output. The easiest way to do that with Ant is the <war> task. For other backends, you'll probably want to <zip> the compiler output for transfer to the server. The last step, actual deployment, depends on your server environment. Several Java app servers have custom Ant tasks for deploying applications and you can refer to documentation from your app server vendor to learn more about that. On the other hand, if all you're trying to do is deploy to a Tomcat instance in your development environment, it's as simple as copying your .war file into the tomcat/webapps directory. Deploying to a non-Java backend will probably involve transfering your .zip file to the server and unzipping it in a directory configured as a web application root. The best resource for general help with Ant tasks, in my opinion, the manual: http://ant.apache.org/manual/ On Wed, Nov 5, 2008 at 4:03 PM, arnaud <[EMAIL PROTECTED]> wrote: > > Hello every one, > i want to deploy gwt application with ant.Who know how can i do it? > Arnaud > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
