Return-Path: Delivered-To: apmail-shale-issues-archive@locus.apache.org Received: (qmail 27039 invoked from network); 5 Aug 2007 11:09:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2007 11:09:25 -0000 Received: (qmail 34576 invoked by uid 500); 5 Aug 2007 11:09:25 -0000 Delivered-To: apmail-shale-issues-archive@shale.apache.org Received: (qmail 34550 invoked by uid 500); 5 Aug 2007 11:09:25 -0000 Mailing-List: contact issues-help@shale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shale.apache.org Delivered-To: mailing list issues@shale.apache.org Received: (qmail 34541 invoked by uid 99); 5 Aug 2007 11:09:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2007 04:09:25 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2007 11:09:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1BF557141EF for ; Sun, 5 Aug 2007 04:09:05 -0700 (PDT) Message-ID: <26989665.1186312145104.JavaMail.jira@brutus> Date: Sun, 5 Aug 2007 04:09:05 -0700 (PDT) From: "Hermod Opstvedt (JIRA)" To: issues@shale.apache.org Subject: [jira] Resolved: (SHALE-456) Tld2Claycfg has problems with encoding In-Reply-To: <23815321.1184780411986.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/struts/browse/SHALE-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hermod Opstvedt resolved SHALE-456. ----------------------------------- Resolution: Fixed Fix Version/s: 1.1.0-SNAPSHOT Thanks for the patch. > Tld2Claycfg has problems with encoding > -------------------------------------- > > Key: SHALE-456 > URL: https://issues.apache.org/struts/browse/SHALE-456 > Project: Shale > Issue Type: Bug > Components: Clay > Affects Versions: 1.0.4 > Environment: windows xp, maven 2.0.7, > Reporter: Tom Pasierb > Assignee: Hermod Opstvedt > Fix For: 1.1.0-SNAPSHOT > > Attachments: encoding.patch > > > 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 input paramter for writeStartDocument() method 'utf-8' do not match. > at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartDocument(XMLStreamWriterImpl.java:1182) > at org.apache.shale.clay.util.TldToClayconfig.writeConfigFile(TldToClayconfig.java:435) > at org.apache.shale.clay.util.TldToClayconfig.convert(TldToClayconfig.java:275) > ... > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] !TldToClayconfig.exception: !javax.xml.stream.XMLStreamException: > Underlying stream encoding 'Cp1250' and input paramter for writeStartDocument() method 'utf-8' do not match.: Underlying stream encoding 'Cp1250' and input paramter for writeStartDocument() method 'utf-8' do not match. > If you need more info on this, please let me know -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.