[jboss-user] [JBoss Tools] - Re: How to create seam web project programmatically?

Alexey Kazakov do-not-reply at jboss.com
Tue Mar 29 12:52:11 EDT 2011


Alexey Kazakov [http://community.jboss.org/people/akazakov] created the discussion

"Re: How to create seam web project programmatically?"

To view the discussion, visit: http://community.jboss.org/message/596315#596315

--------------------------------------------------------------
You should use model of Seam facet instead of Seam wizard:
> ...
>  Set<Action> actions = wizard.getFacetedProjectWorkingCopy().getProjectFacetActions();
> for (Action action : actions) {
>        if(ISeamFacetDataModelProperties.SEAM_FACET_ID.equals(action.getProjectFacetVersion().getProjectFacet().getId())) {
>             IDataModel seamFacetModel = (IDataModel)action.getConfig();
>             ejbProjectName = seamFacetModel.getStringProperty(ISeamFacetDataModelProperties.SEAM_EJB_PROJECT);
>             break;
>        }
> }
>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/596315#596315]

Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110329/df94c9d3/attachment-0001.html 


More information about the jboss-user mailing list