[jbosstools-issues] [JBoss JIRA] (JBIDE-13929) Cannot install m2 facet when jst.seam facet is missing
Rastislav Wagner (JIRA)
jira-events at lists.jboss.org
Mon Apr 15 09:44:53 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-13929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767259#comment-12767259 ]
Rastislav Wagner commented on JBIDE-13929:
------------------------------------------
Thanks for the steps, Fred.
However if I do as you wrote I still get can't enable M2 Facet.
Here's the exception
> Cannot install m2 facet when jst.seam facet is missing
> ------------------------------------------------------
>
> Key: JBIDE-13929
> URL: https://issues.jboss.org/browse/JBIDE-13929
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.0.0.Final
> Reporter: Rob Cernich
> Assignee: Fred Bricon
> Fix For: 4.1.0.Alpha2
>
>
> An IllegalArgumentException is produced when loading MavenFacetInstallPage when the jst.seam facet is missing. One should be able to install the m2 facet regardless of whether or not seam tooling is installed.
> This is the line where the exception is thrown:
> public static final IProjectFacet SEAM_FACET = ProjectFacetsManager.getProjectFacet(SEAM_FACET_ID);
> This should be moved to a static init block to either catch the exception or check to see if the facet is defined first.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list