Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-4573

Renaming faces-config.xml or struts-config.xml causes exceptions and resources lock.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.1.0.M3
    • 3.1.0.M2
    • jsf, struts/shale
    • None
    • WindowsXP SP2
      JBoss Tools
      Version: 3.1.0
      eclipse-SDK-3.5RC3-win32.zip
      Build id: JBossTools-ALL-win32-3.1.0.M2-N200906292009-H313
      JRE 1.5_08

      EXECUTE: Create JSF 1.2 Kickstart project.
      EXECUTE: Select faces-config.xml. Right click on it.
      EXECUTE: Refactor > Rename. Change name (input faces-config2.xml). Press OK.
      FAILURE: Multiply exceptions appears(log attached). Error message box appears(screenshot attached). File name - changed.
      EXECUTE: Refactor > Rename. Change name (input faces-config3.xml). Press OK.
      EXECUTE: Open web.xml.
      FAILURE: Faces-config name - old one(faces-config2.xml). Refactoring for this .xml file doesn't change dependencies now.

      If you create any JSF project after this - renaming facing-config will not affect on web.xml content. Until you restart Eclipse.

      Same for struts-config.xml.

        1. ErrorMessage.JPG
          23 kB
          Aliaksey Nis
        2. refactoring.txt
          6 kB
          Aliaksey Nis

              scabanovich Viacheslav Kabanovich (Inactive)
              anis_jira Aliaksey Nis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: