[ http://jira.codehaus.org/browse/MPEJB-20?page=comments#action_44476 ]
Fredrik Vraalsen commented on MPEJB-20: --------------------------------------- Hi Vincent, The error I get in Maven 1.0.2 is java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence. I think the contributor has edited the project.xml file with a program which has saved it in ISO-8859-1 encoding (which is typically used for the Scandinavian languages), whereas the XML header says the file uses UTF-8 encoding. The patch I provided only modifies the project.xml to use the correct UTF-8 bytes for the 'å' character (looks like 'Ã¥' in a non-UTF-8 aware viewer). I have also checked the original file in Stylus Studio XML editor, and it marks the characters as '?', meaning that the encoding is wrong. Why the error does not show in Maven 1.1 I do not know, but I suspect it has to do with using a different XML parser or something like that (Maven 1.0.2 includes an old Xerces version in its lib/endorsed directory). Cheers, Fredrik > plugin does not compile > ----------------------- > > Key: MPEJB-20 > URL: http://jira.codehaus.org/browse/MPEJB-20 > Project: maven-ejb-plugin > Type: Bug > Versions: 1.7 > Environment: Maven 1.0.2, maven-ejb-plugin 1.7-SNAPSHOT, Sun JDK 1.5 > (Windows) > Reporter: Fredrik Vraalsen > Assignee: Vincent Massol > Fix For: 1.7 > Attachments: maven-ejb-plugin-1.7-SNAPSHOT.jar, maven-ejb-plugin-1.7.patch > > > Plugin does not compile due to illegal UTF-8 chars in project.xml. > In addition, ejb:deploy should use "ejb-client" type instead of "jar". > The attached patch fixes this. > Cheers, > Fredrik -- 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, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
