[
https://jira.jboss.org/jira/browse/JBIDE-4274?page=com.atlassian.jira.plu...
]
Alexey Kazakov commented on JBIDE-4274:
---------------------------------------
Here is a workaround that I've added to seam:
<enablement>
<and>
<or>
<with variable="processorIdentifier">
<or>
<equals
value="org.eclipse.jdt.ui.renameJavaProjectProcessor">
</equals>
</or>
</with>
<with variable="processorIdentifier">
<or>
<equals
value="org.eclipse.ltk.core.refactoring.renameResourceProcessor">
</equals>
</or>
</with>
</or>
<with variable="element">
<or>
<instanceof
value="org.eclipse.core.resources.IProject"/>
</or>
</with>
</and>
</enablement>
> But what should they pass in alternatively ?
I'm not
sure... Maybe IDataModel (instead of IProject) for org.eclipse.wst.common.component for
the project. Since they modify it.
Changing web context invalidates Seam projects
----------------------------------------------
Key: JBIDE-4274
URL:
https://jira.jboss.org/jira/browse/JBIDE-4274
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam, UpStream
Affects Versions: 3.0.0.GA
Reporter: Snjezana Peco
Assignee: Alexey Kazakov
Fix For: 3.1.0.M1
Steps to reproduce:
- create a Seam EAR project
- right-click the WAR project, select Properties>Web Project Settings
- change Context Root
The Seam refactoring engine will change Seam settings and you will get errors in the WAR
(View Folder "/<projectname>-changed/WebContent" specified for Seam
project "<projectname>" does not exist. Please correct this property in
"Seam settings" page (Project->Properties->Seam Settings).) and EJB (Main
Seam project "<projectname>-changed" specified for Seam project
"<projectname>-ejb" does not exist.) project.
The issue can also be reproduced in JBDS 3.0.1 and in the JBT trunk.
--
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