JBossWS Property Page isn't defined correctly
---------------------------------------------
Key: JBIDE-3005
URL:
https://jira.jboss.org/jira/browse/JBIDE-3005
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.0.0.beta1
Reporter: Snjezana Peco
Steps to reproduce:
- create any project
- right-click some folder/file within the project and select Properties
You will get a dialog showing "The currently displayed page contains invalid
values".
You will also get this error if you select Properties for some item in the Problems view.
The issue happens because this property page is defined for a project, but doesn't
contain a filter.
If you want the property page to be defined for the project, you should add the following
filter :
<enabledWhen>
<adapt
type="org.eclipse.core.resources.IProject">
</adapt>
</enabledWhen>
If you want the page to be defined only for projects containing the WS facet, the filter
would look like as follows:
<enabledWhen>
<adapt
type="org.eclipse.core.resources.IProject">
<test
property="org.eclipse.wst.common.project.facet.core.projectFacet"
value="jbossws.core"/>
</adapt>
</enabledWhen>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira