[jbosstools-issues] [JBoss JIRA] (JBTIS-165) Regression - Cannot add a file to the attachments

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Sep 9 16:24:03 EDT 2013


    [ https://issues.jboss.org/browse/JBTIS-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802876#comment-12802876 ] 

Viacheslav Kabanovich commented on JBTIS-165:
---------------------------------------------

Yes, this is a bug, but it is not a regression, it just happens in the configuration of this project.
File /test/.settings/org.eclipse.wst.common.component declares two web roots as follows
{code}
        <wb-resource deploy-path="/" source-path="/esbcontent"/>
        <wb-resource deploy-path="/" source-path="/src"/>
{code}
I am not sure now why, but for the case of multiple roots I coded to take the second one as ESB content folder. Java sources are added to the search tree always, be they declared as web roots or not. That is why the dialog window in the screenshot contains two 'src' folders.
Possible workaround is to change order of roots:
{code}
        <wb-resource deploy-path="/" source-path="/src"/>
        <wb-resource deploy-path="/" source-path="/esbcontent"/>
{code}

To fix the issue I need to know 
- Is it really necessary to add source folders to <wb-resource> list?
- When <wb-resource> contains several items, are they all contributing equally to ESB content?

                
> Regression - Cannot add a file to the attachments
> -------------------------------------------------
>
>                 Key: JBTIS-165
>                 URL: https://issues.jboss.org/browse/JBTIS-165
>             Project: JBoss Tools Integration Stack
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: ESB
>    Affects Versions: 4.1.2
>         Environment: JBoss ESB Tools 1.5.300.Final-v20130815-1755-B1189
>            Reporter: Andrej Podhradsky
>            Assignee: Viacheslav Kabanovich
>            Priority: Blocker
>         Attachments: esb_attachment_bug.png, test.zip
>
>
> Cannot add a file to the attachments from esbcontent folder. It's also impossible to add .txt file from the root but .zip file is possible to add. See the screenshot

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list