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&...]