Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to build war file for smart gwt project

    Hi,

    I'm using eclipse 3.5 with smart gwt (gwt 2.4.0), right now I'm testing every thing using eclipe (Debug as -> Web application) option.

    But I want to build my smart gwt project in a war file and deploy in the external server like jboss.

    Please can any one suggest us on this.

    Any help is highly appreciated.

    Thanks.

    #2
    i can think of couple of options to do that,

    1. If you have GWT Eclipse plugin installed. It has a GWT compile option. Do that, this will convert all your java code into corresponding javascript code.
    Then in your project structure under war directory you will have everything you need.
    Open the command prompt and fire, jar cvf <name of your war> and the <project warpath>
    This will create a war file which you can put in any external app server.

    2. You can write ant targets to do the same i.e. compile and create wars and then run those to create a war.

    Comment


      #3
      As of the latest version of Google's GWT, they have broken out some of their plugins for Eclipse into separate entities. Before, downloading the GWT plugin was enough but now you need to download a couple of Google Eclipse Plugins to get the Deploy functionality.

      Comment

      Working...
      X