Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF1766248 for ; Thu, 9 Jun 2011 14:41:22 +0000 (UTC) Received: (qmail 86439 invoked by uid 500); 9 Jun 2011 14:41:22 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 86414 invoked by uid 500); 9 Jun 2011 14:41:22 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 86397 invoked by uid 99); 9 Jun 2011 14:41:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 14:41:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 14:41:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3381410A917 for ; Thu, 9 Jun 2011 14:40:59 +0000 (UTC) Date: Thu, 9 Jun 2011 14:40:59 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: <102255175.7085.1307630459207.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1967838777.21457.1304511303269.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-3487) wsdl2java cannot handle file path with accents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-3487?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D130465= 84#comment-13046584 ]=20 Daniel Kulp commented on CXF-3487: ---------------------------------- This might be a Java bug on Linux or an OS issue or something. I'm not rea= lly sure. I cannot figure out how to take the above strings that point to = a valid file on the filesystem and get a java.io.File object that returns t= rue for exists() or even a File pointing to the directory where .isDirector= y() returns true. A simple program like: {code:java} File file =3D new File("/tmp"); for (String f : file.list()) { if (f.startsWith("test-")) { File f2 =3D new File("/tmp/" + f); System.out.println(f2); System.out.println(f2.exists()); System.out.println(f2.isDirectory()); =20 f2 =3D new File(file, f); System.out.println(f2); System.out.println(f2.exists()); System.out.println(f2.isDirectory()); } } =20 for (File f : file.listFiles()) { if (f.getName().startsWith("test-")) { File f2 =3D new File("/tmp/" + f.getName()); System.out.println(f2); System.out.println(f2.exists()); System.out.println(f2.isDirectory()); =20 System.out.println(f); System.out.println(f.exists()); System.out.println(f.isDirectory()); } } {code} Returns false for everything for all directories I stuck in /tmp that star= t with test- and have accents. If we can figure out how to get the File = object, we might be able to get this working. Note: maven seems to have the same issue. If I stick a pom.xml in a direct= ory with an accent, maven cannot find the pom and won't build. > wsdl2java cannot handle file path with accents > ---------------------------------------------- > > Key: CXF-3487 > URL: https://issues.apache.org/jira/browse/CXF-3487 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0.13, 2.2.11, 2.2.12, 2.4, 2.3.4 > Environment: * Linux Ubuntu 9.10 > * java version "1.6.0_24" > Java(TM) SE Runtime Environment (build 1.6.0_24-b07) > Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode) > * CXF 2.4.0 > Reporter: Mickael Istria > Labels: wsdl2java > > It is not possible to perfrom a wsdl2java operation on a file path or URL= that contains an accent (=C3=A9). > Tried: > * wsdl2java file:/home/mistria/accent_=C3=A9.wsdl > * wsdl2java file:/home/mistria/accent_%e9.wsdl > * wsdl2java file:/home/mistria/accent_%E9.wsdl > * wsdl2java /home/mistria/accent_=C3=A9.wsdl > * wsdl2java /home/mistria/accent_%e9.wsdl > * wsdl2java /home/mistria/accent_%E9.wsdl > Unsuccessfully -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira