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

New beans.xml wizard should warn if the file already exists

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M4
    • 3.3.0.M3
    • cdi
    • None

      EXECUTE: Check out http://jee6-cdi.googlecode.com/svn/tutorial/cdi-di-example
      EXECUTE: Import it as existing maven project
      EXECUTE: Select /cdi-di-tutorial/src/main/resources in Package Explorer
      EXECUTE: Ctrl+N -> CDI -> File beans.xml
      ASSERT: Finish button is disabled (that's good)
      FAILURE: There is no error message in the wizard regarding existing beans.xml
      EXECUTE: Close the wizard. Select /cdi-di-tutorial in Package Explorer
      EXECUTE: Ctrl+N -> CDI -> File beans.xml
      FAILURE: The wizard use /cdi-di-tutorial/src/main/java folder by default and if you click ok you will give a duplicated beans.xml in the project. The wizard should check all the source and web content folders and if there is any beans.xml then use the root folder of this beans.xml as default one. So user will see the error right away if he missed the existing beans.xml and trying to create a duplicate.

            scabanovich Viacheslav Kabanovich (Inactive)
            alexeykazakov Alexey Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: