[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKDESC-31) Descriptors clobbers file markup and formatting

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Jul 21 15:20:23 EDT 2011


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

Aslak Knutsen commented on SHRINKDESC-31:
-----------------------------------------

TestCase that show the import/export problem with XML Comments:
https://github.com/aslakknutsen/descriptors/blob/SHRINKDESC-31/spi/src/test/java/org/jboss/shrinkwrap/descriptor/spi/xml/dom/XMLRoundTripTestCase.java

> Descriptors clobbers file markup and formatting
> -----------------------------------------------
>
>                 Key: SHRINKDESC-31
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-31
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>    Affects Versions: 0.1.0
>         Environment: all
>            Reporter: Lincoln Baxter III
>
> When importing a descriptor file (e.g. persistence.xml), Shrinkwrap Descriptors parses all relevant information, but also destroys all comments or other non-supported information when performing an expport. This is understandable based on the technology used, but perhaps there should be a way of merging config into an existing file that preserves as much markup as possible.
> Tough problem, but just throwing it out there.

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

        


More information about the shrinkwrap-issues mailing list