yazz.com
yazz.com

Reputation: 58766

Is there a one step build for a GWT application or module in Intellij 11/12?

Intellij doesn't seem to have a one step way to build a war file from a GWT application. Or am I missing the option somewhere?

Upvotes: 1

Views: 97

Answers (1)

Christian Kuetbach
Christian Kuetbach

Reputation: 16060

I would suggest to use maven for project description.

IntelliJ works very good with maven projects. You can use IntelliJ for development and maven for production-builds.

update

You can find the documentation here: http://mojo.codehaus.org/gwt-maven-plugin/

Steps, to get the stuff running:

  • Install maven
  • Create a pom.xml
  • define you dependencies
  • call mvn install and verify you war-file (it will be created in the sub-directory "target"
  • call mvn idea:idea this will create a Intellj project OR
  • Open Intellij, select "new project from external model -> from maven"

Upvotes: 1

Related Questions