[JBoss JIRA] Created: (JBIDE-4274) Changing web context invalidates Seam projects
by Snjezana Peco (JIRA)
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
Affects Versions: 3.0.0.GA
Reporter: Snjezana Peco
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4263) Seam component renaming: New name of component is inserted in first position in java source file.
by Alexey Kazakov (JIRA)
Seam component renaming: New name of component is inserted in first position in java source file.
-------------------------------------------------------------------------------------------------
Key: JBIDE-4263
URL: https://jira.jboss.org/jira/browse/JBIDE-4263
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M1
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 3.1.0.M1
1. Create Seam Project (New Seam Project Wizard)
2. Open components.xml. Add <component class="org.domain.<project_name>.session.Authenticator" name="authenticator"/>
3. Open Authenticator.java. Remove @Name("authenticator")
4. Open Seam Components View. Right click on "authenticator" component ->Rename Component
5. Enter new name, press finish.
6. New name of component is inserted in first position in Authenticator.java:
"new name"package org.domain.seamtest.session;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
...
--
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
16 years, 5 months
[JBoss JIRA] Created: (JBIDE-4277) NPE is thrown when user tries to rename a project with hibernate launch configuration.
by Alexey Kazakov (JIRA)
NPE is thrown when user tries to rename a project with hibernate launch configuration.
--------------------------------------------------------------------------------------
Key: JBIDE-4277
URL: https://jira.jboss.org/jira/browse/JBIDE-4277
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.M1
Reporter: Alexey Kazakov
Assignee: Dmitry Geraskov
Priority: Blocker
Fix For: 3.1.0.M1
1. Create Seam EAR Project.
2. EJB project -> Refactoring -> Rename...
3. Enter new name. Press "finish".
4. Exception is thrown:
java.lang.NullPointerException
at org.hibernate.eclipse.launch.core.refactoring.LaunchConfigurationResourceNameChange.perform(LaunchConfigurationResourceNameChange.java:85)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:260)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:308)
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:225)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
So It's impossible to rename a project with Hibernate launch configuretion inside.
BTW we have to check 3.0.1 too.
--
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
16 years, 5 months