[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9678) New beans.xml wizard should warn if the file already exists

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Sep 7 13:36:26 EDT 2011


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

                 Key: JBIDE-9678
                 URL: https://issues.jboss.org/browse/JBIDE-9678
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: CDI
    Affects Versions: 3.3.0.M3
            Reporter: Alexey Kazakov
            Assignee: Viacheslav Kabanovich
             Fix For: 3.3.0.M4


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list