>From: Tomasz Pasierb <[EMAIL PROTECTED]> > > Hi guys, > > I'm trying to use Tld2Claycfg tool to convert trinidad, tomahawk and > tomahawk tlds to clay config files. In order to do this I've checked out > 3 projects, built & installed tld2claycfg and mojo projects and > configured pom in test project. > When I run the mvn clean package goal I the the following exception > indicating there's some problem with encoding (all the dependencies were > downloaded to my local repo). Is there any config property or system > property I should set when running the goal ? > > The exception is: > javax.xml.stream.XMLStreamException: Underlying stream encoding 'Cp1250' > and inp > ut paramter for writeStartDocument() method 'utf-8' do not match. > at > com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartDoc > ument(XMLStreamWriterImpl.java:1182) > at > org.apache.shale.clay.util.TldToClayconfig.writeConfigFile(TldToClayc > onfig.java:435) > at > org.apache.shale.clay.util.TldToClayconfig.convert(TldToClayconfig.ja > va:275) > ... > > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] !TldToClayconfig.exception: !javax.xml.stream.XMLStreamException: > Underly > ing stream encoding 'Cp1250' and input paramter for writeStartDocument() > method > 'utf-8' do not match.: Underlying stream encoding 'Cp1250' and input > paramter fo > r writeStartDocument() method 'utf-8' do not match. > > Any help? >
This looks like a bug. Please create a JIRA ticket. We need to look at using the IO Reader & Writer to perform character encoding conversion. Gary