Bug 141980 - [project explorer] action set enablement check for ConvertToWebModuleTypeActionSet writes to log
Summary: [project explorer] action set enablement check for ConvertToWebModuleTypeActi...
Status: CLOSED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: wst.web (show other bugs)
Version: 1.5   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 1.5 RC5   Edit
Assignee: John Lanuti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 141984
Blocks:
  Show dependency tree
 
Reported: 2006-05-16 08:14 EDT by Markus Keller CLA
Modified: 2006-06-29 14:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2006-05-16 08:14:17 EDT
WTP 1.5 RC2, Eclipse 3.2 RC4

The first time I open the context menu in the Package Explorer, the following is written to the log:

!ENTRY org.eclipse.core.expressions 4 4 2006-05-16 12:09:19.467
!MESSAGE Unknown expression element objectClass


I traced this down to the org.eclipse.jst.servlet.ui plugin.xml which declares:
<action
	label="%convertWebProjectTypeAction.label"
	tooltip="%ConvertWebProjectTypeAction.tooltip"
	menubarPath="project/additions"
	class="org.eclipse.jst.servlet.ui.internal.actions.ConvertToWebModuleTypeAction"
	enablesFor="1"
	id="convertToWebModuleTypeAction">   
	<enablement>
		<and>
			<objectClass name="org.eclipse.core.resources.IProject"/>
			<!--<objectState
			   name="facet"
			   value="wst.web">
			 </objectState> -->
		</and>
	</enablement>            
</action>

It looks like the objectClass element is not supported here. I'll file a bug for Platform/UI to clarify this.
Comment 1 Raghunathan Srinivasan CLA 2006-05-22 13:39:24 EDT
Not JSF Tools related. Moving the bug to WST
Comment 2 John Lanuti CLA 2006-06-06 11:28:57 EDT
This is fixed in WTP 1.5 RC5
Comment 3 Markus Keller CLA 2006-06-27 05:18:33 EDT
Verified in 1.5RC6.
Comment 4 John Lanuti CLA 2006-06-29 14:13:21 EDT
OK