How to configure properly IntelliJ IDEA for deployment of JBoss Seam project?

Posted by Piotr Kochanski on Stack Overflow See other posts from Stack Overflow or by Piotr Kochanski
Published on 2010-04-08T11:32:00Z Indexed on 2010/04/11 23:33 UTC
Read the original article Hit count: 606

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

© Stack Overflow or respective owner

Related posts about seam

Related posts about jboss-seam