Versions Compared

Key

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

...

1)      Adjust the facets detected in project:

    EJB facet:   

Add additional resources: persistence.xml file to META-INF folder of deployment root, import.sql and seam.properties files - to deployment root.

Select to_ear library to link via manifest and  copy files to /lib; Select select jboss-seam.jar to link via manifest and copy to /.


    Web facet: 

 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 the web resource directory - view folder.

 .  

  javaEEApplication facet: 

Include EJB and Web facets into ear; set the context root and module names properly. Add jboss-app.xml as additional resource.Note that the application.xml is changed on facet configuring and the duplicated modules are inserted there; remove them manually from this file after configuring the facet.

...

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

Remove JPA facet  to avoid redundant resources packaging into war.

...