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

Jaroslav Jankovič (Closed) (JIRA) jira-events at lists.jboss.org
Wed Nov 2 06:34:45 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jaroslav Jankovič closed JBIDE-9678.
------------------------------------



Verified in JBDS 5.0.0.v201110271830R-H42-M4. Closing Jira.
                
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list