[jbosstools-issues] [JBoss JIRA] (JBDS-2641) jboss-deployment-structure file validation problem

Joshua Wilson (JIRA) jira-events at lists.jboss.org
Thu Oct 31 20:58:02 EDT 2013


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

Joshua Wilson commented on JBDS-2641:
-------------------------------------

I just found that if you use `<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:2.0">` it works. 
                
> jboss-deployment-structure file validation problem
> --------------------------------------------------
>
>                 Key: JBDS-2641
>                 URL: https://issues.jboss.org/browse/JBDS-2641
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 7.0.0.Beta1
>            Reporter: Tomas Remes
>             Fix For: 7.0.0.Beta2
>
>
> E.g. try to create new Seam2.3 project. There will be created jboss-deployment-structure.xml descriptor in WebContent/WEB-INF directory. Notice the following error:
> {noformat}
> vc-complex-type.2.4.a: Invalid content was found starting with element 'deployment'. One of '{ear-subdeployments-isolated, deployment, sub-deployment, module}' is expected.	jboss-deployment-structure.xml	/testproject/WebContent/WEB-INF	line 2	XML Problem
> {noformat}

--
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