Hi, I thing everyone except you develop outside the JBoss AS :-) The correct aproach would be, that you let the tool create the Eclipse project anywhere you want and just deploy the application by generated build.xml ant script into the JBoss AS deploy dir.
try (from the command line)
seam generate-entities (optional, if you want to generate the reference
application from the existing database)
Thanks for you reply, but why would I want to redeploy an EAR every time for development purposes? That's what I do for production, but for development it's a lot easier to use an exploded EAR. Please correct me if I missed the point.
When I said developing outside an AS, I meant using something like the jboss embedded EJB container to develop/test the beans and then adding the views.
seam-gen uses an exploded directory deployment. Try it out.