jaxb2:xjc throws "org.xml.sax.SAXParseException: 'xyz' is already defined" on
schema files located in directories with embedded tilde character
-----------------------------------------------------------------------------------------------------------------------------------------------
Key: MJAXB-31
URL: http://jira.codehaus.org/browse/MJAXB-31
Project: Maven 2.x JAXB 2.1 Plugin
Issue Type: Bug
Affects Versions: 1.3
Environment: Windows or Linux - all versions that I've tested
Maven 2.2.1
Java 1.6.0_17/18
Reporter: John Calcote
When I execute mvn jaxb2:xjc on a project (configured with the jaxb2 plugin) in
a project directory where in the path to that directory contains at least one
tilde character (~), a SAXParseException is thrown as in the summary above.
The easiest way to reproduce this is to rename "project" directory to
"proj~ect", cd into that directory and then run mvn jaxb2:xjc.
If it works without the tilde, it fails with it.
--
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