[jira] Created: (MOJO-1453) xml-maven-plugin:transform - "Premature end of file" when overwriting.

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (MOJO-1453) xml-maven-plugin:transform - "Premature end of file" when overwriting.

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

xml-maven-plugin:transform - "Premature end of file" when overwriting.
----------------------------------------------------------------------

                 Key: MOJO-1453
                 URL: http://jira.codehaus.org/browse/MOJO-1453
             Project: Mojo
          Issue Type: Bug
          Components: xml
         Environment: Maven 2.2.1
            Reporter: Ondrej Zizka
            Assignee: Jochen Wiedmann


When the resulting file is the same as being transformed, the XML plugin throws an exception and leaves the file empty (0 bytes long).

[INFO] [xml:transform {execution: switch-web.xml}]
[INFO] Transforming file: .../target/war/work/org.jboss.jopr/jopr-embedded-jbas5/WEB-INF/web.xml
CHYBA: 'Premature end of file.'
CHYBA: 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Premature end of file.'

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email