[jbosstools-dev] Seam Project Wizard

Snjezana Peco snjezana.peco at redhat.com
Wed Jan 21 14:13:04 EST 2009


I have noticed that the New Seam wizard is being executed in the 
following order:

- Seam Install delegate creates  Seam facet, WAR project ...
- Seam Post Install delegate registers (and publishes) the project on 
the server and registers a database profile
- SeamProjectCreator.execute() configures a test project (EJB and EAR 
projects for EAR deployment)

It could happen that the project is registered (and published) before it 
is configured completely.

My proposal is the following:
- moving SeamProjectCreator.execute() to Seam Install delegate
- registering and publishing a project should be done in a job within 
Seam Post Install delegate or within Seam Install delegate . This job 
would wait for the project to be built. After that, it would register 
the project on the server.

Snjeza



More information about the jbosstools-dev mailing list