[jbosstools-dev] Re: Seam Project Wizard

Snjezana Peco snjeza.peco at gmail.com
Thu Jan 22 12:43:01 EST 2009


Alexey Kazakov wrote:
> 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.
>
>

Agree, but I proposed moving SeamProjectCreator.execute()  into Seam 
Facet Install delegate and registering and publishing a project  in a 
job that would be run after building the project.
 
>>>> - 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.
>>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>




More information about the jbosstools-dev mailing list