How to create a project with JSF, Primefaces and Tomcat that runs in Eclipse and Netbeans at the same time?

3

How can I create a Maven project with JSF, Primefaces and Apache Tomcat so it runs in both Eclipse and Netbeans without any problems? (Preferably with the latest versions of the technologies)?

    
asked by anonymous 02.05.2014 / 03:19

1 answer

4

Create your project using Maven.

Both Eclipse and Netbeans respect the Maven format and you will be able to have both environments.

This project here does not use JSF, but it's done with Maven: link

Download the source code and have it imported into both Eclipse and Netbeans, so you can both understand the project.

Just be careful, when using an SVN or GIT version, not to save files specific to each IDE, such as the .project file that eclipse creates. They are not required for project operation.

Another detail is that for Maven to run correctly in eclipse it is necessary to install a plugin. In that same post it shows how to configure Maven with Eclipse.

    
02.05.2014 / 05:01