8 Replies Latest reply on Dec 5, 2008 6:27 AM by Viacheslav Kabanovich

    Making Maven Archetype created Seam Project JBoss Tool compa

    Mehmet Salgar Novice

      Hi everybody,

      I had created a Seam Project from a Maven Archetype of Wasley Hayes. It functions perfect, I can deploy the maven project to the server and it works.

      Now the next big question is, how to correctly Seam enable the project in JBoss Tools so the content assist and everyhing works fine for Seam...

      Naturally, I gone to the project properties page of the web project and adjusted the Seam Settings and facets (by looking to the way it is created by the seam wizard) then I did the same thing for the ejb module (enable seam settings which I have to manually configure the parent project because Seam Settings wizard was not capable of doing it) and ear project...

      Now content assist works correctly for the references inside of the web project, so wenn I create a session bean in web project content assist show the name of the session bean defined by @Name annotation.

      The problem is when I configure the ejb project with ejbmodule and the session bean is created there, content assist is not able to find the bean with mentioned @Name annotation..

      I am suspecting the reason is, maven project structure is considerably different then the eclipse ejbModule project... (when I configure the ejbModule I have to give the ejbModule directory as src/main/java but META-INF and everything else is under src/main/resources)...

      So does anybody know what is the mechanism Seam Facet use to discover the Session Beans from ejbModule may be I can configure everything to work out....

      Thx for the answers...