Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Add additional resources: components.xml, faces-config.xml, pages.xml to WEB-INF, messages.properties - to WEB-INF/classes.
Select library to package into war: to_war library should be copied to /WEB_INF/lib.  Set Set the web resource directory - view folder.

 .  

javaEEApplication facet: 

...

On the build settings tab set the archive name to deploy or the exploded directory (note, that it should have .ear extension):

 Remove Remove JPA facet to avoid redundant resources packaging into war.

 4. ) Edit the components.xml :

The core:init component should be changed as follows: 

  5.   

5) Create JBoss run configuration:

...