Snjezana Peco wrote:
We could set some property when installing facet using New Seam Wizard
Project and call SeamProjectCreator.execute() only if this property is
set. If we execute SeamProjectCreator.execute() within Seam Install
delegate, we will execute a complete configuration within the same
workspace job.
Unfortunately it doesn't work. Just moving SeamProjectCreator.execute()
into Seam Facet Install delegate is not enough. I've created an issue
https://jira.jboss.org/jira/browse/JBIDE-3612
See my comments there.
>> - 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.
>>
> Sounds better for me. Is there any chance that registering will be
> before eclipse starts building project created by SeamProjectCreator?
>
Yes, there is. We could create a separate build job that would
register the server, build the project, wait for the project to be
built, publish the project.
I have to check if it is possible to separate registering and
publishing. If that is impossible, a better solution would be
register/publish the project after building the project.
Publishing before building will cause errors on the server when all
the classes/resources aren't created.