I would like to use IntelliJ IDEA for development of JBoss Seam project. seam-gen is creating the project stub, however the stub is not complete. In particular it is not clear how to deploy such project.
First of all I had to define manually web project facelet and add libraries to its deployment definition.
The other problem was persistence.xml file. In the Seam generated project it does not exists, since Ant is using one of the persistence-dev.xml, persistence-prod.xml, persistence-test.xml files, changing its name, depending on deployment type (which is ok). Obviously I can create persistence.xml by hand, but it goes againts Seam way of development.
Finally I decided to use directly ant, which is not partucularly comfortable.
All these tweaks made me think that I am doing something wrong from the IntelliJ IDEA point of view.
What is the efficient way of configuring IntelliJ for usage with JBoss Seam (deployment, in particular)?
I am using JBoss Seam 2.1.1, Intellij 8.1.4, JBoss 4.3.3