[jbosstools-dev] Re: https://jira.jboss.org/jira/browse/JBIDE-3635 & the New Seam Project wizard

Max Rydahl Andersen max.andersen at redhat.com
Mon Feb 9 07:41:03 EST 2009


God - I hate IDE's that needs to do tricks to manipulate jars ;)

/max
> Hi,
>
> you can just add something like new SeamProjectCreator().execute() in 
> your wizard as well as we do in SeamProjectWizard.performFinish().
> Or, which is better, add some factory to create new 
> SeamProjectCreator() for particular IDataModel.
> So the code could looks like:
> performFinish() {
> ...
> SeamProjectCreatorFactory().getInstance().getProjectCreator(dataModel).execute(); 
>
> ...
> }
> I'm not sure we should move EAR project creating to Seam facet install 
> deligate again.
>
> Snjezana Peco wrote:
>> Hi,
>>
>> I need to add richfaces libraries to some projects within this wizard.
>> When choosing an EAR project, it is necessary to do the following:
>>
>> - change richfaces-impl.jar and richfaces-ui.jar in WAR project
>> - change richfaces-api.jar in EAR project
>>
>> This has to be done in the (Post) Install Delegate action. However, 
>> the EAR project can't be changed because it is created after 
>> executing all web facet actions (in the wizard's performFinish method).
>>
>> I propose to create ear/ejb/test projects 
>> (SeamProjectCreator.execute) in the Install Delegate action within 
>> the Seam facet. Calling SeamProjectCreator.execute could depend on a 
>> varijable.
>>
>> Snjeza
>>
>




More information about the jbosstools-dev mailing list