[shrinkwrap-issues] [JBoss JIRA] (SHRINKDESC-130) Provide a way to validate an imported or created descriptor content

Ralf Battenfeld (JIRA) jira-events at lists.jboss.org
Thu Nov 15 06:29:21 EST 2012


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

Ralf Battenfeld commented on SHRINKDESC-130:
--------------------------------------------

I looked a little bit about the different approaches of loading a resource. The difference between getClass().getResourceAsStream() and getClass().getClassLoader().getResourceAsStream() is that the second requires the absolute path. So, when I add the prefix "xsd/" + schema, then it works. 

Thanks
Ralf

- 
                
> Provide a way to validate an imported or created descriptor content
> -------------------------------------------------------------------
>
>                 Key: SHRINKDESC-130
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-130
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>            Reporter: Ralf Battenfeld
>            Assignee: Ralf Battenfeld
>


--
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 shrinkwrap-issues mailing list