Generally, you should not be committing GWT's generated artifacts into version control. Of course, this is completely up to you, but the usual way to do this would be to tag your source code at a particular point and time, and then use a build script to generate a war file for deployment. As has been mentioned on this thread, you won't be able to automate your build/deployment process from Eclipse itself. You'll need to use something like Ant (or Maven) for this. There is an open feature request to have Eclipse generate a build script for your project. We have not implemented this as yet.
For now, you can take a look at the build scripts included with the sample projects that come with GWT. If you downloaded GWT separately, drop into the "samples" directory of the SDK, and take a look at the build.xml file for the DynaTable sample. If you downloaded the plugin and the SDKs together, you'll find the GWT SDK under <eclipse installation dir>/plugins/com.google.gwt.eclipse.sdkbundle.<platform>.<version>/gwt-<platform>-<version>/samples If you have any other questions, please post back here. On Tue, Sep 29, 2009 at 12:40 AM, rjcarr <[email protected]> wrote: > > If you have installed the toolkit there is an application that you can > call to generate shell / template projects for you. This will also > create a build file that you can take a look at. None of this has > anything to do with eclipse. If you have only used eclipse you might > need to download the toolkit separately. > > On Sep 28, 11:54 am, charlie <[email protected]> wrote: > > I'm having a hard time automating the build process. The folders that > gwt > > generates DO NOT want to get into SVN, no matter what command I add I > can't > > get them to commit. As a consequence, when I try to export the war > > directory and zip it up for deployment on the server, it's missing > crucial > > pieces. > > > > When I issue Compile on the Hosted Mode Browser, where does that > directory > > get deployed to? > > > > Does anyone have a build script that executes outside of eclipse ? Or > > within eclipse, I'm just trying to automate the build and deployment. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
