[jboss-user] [JBoss Tools (users)] - Making Maven Archetype created Seam Project JBoss Tool compa

speleomaniac do-not-reply at jboss.com
Thu Dec 4 05:21:17 EST 2008


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...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194281#4194281

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194281



More information about the jboss-user mailing list