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 3F96D1762D for ; Thu, 29 Jan 2015 10:28:42 +0000 (UTC) Received: (qmail 63707 invoked by uid 500); 29 Jan 2015 10:28:42 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 63671 invoked by uid 500); 29 Jan 2015 10:28:42 -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 63659 invoked by uid 99); 29 Jan 2015 10:28:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 10:28:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of morten.sabroe.mortensen@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vc0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2015 10:28:16 +0000 Received: by mail-vc0-f177.google.com with SMTP id hy4so8487065vcb.8 for ; Thu, 29 Jan 2015 02:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tLV64sO19ARiAzKie8BOkELz12iCzzi44f5WYt98Feg=; b=a6wS1c1QZjI4puUcjI/jVUhsryr+k7f5fwXbiIyPkjbZS6mIV2CRiV8ni9nea0RanZ KrhGcKFL6N1KS23c6NOqQhpxunlIWlYtfSqkesx0x9g/FUTSdHA4lk4auTnhg86nSd2F 6Xu9hDpnw1WgRP8k2FXQjzyAfuusmQijowqyrreslqW2z4LLqJNhWD0r1uI7fjd6rPTZ rM7WLduJZwzjBJjYpdglPUvGjSN5XfimXUczxHQ9wbW42Nv+KxZp0Y1e9SzejyrnY73A ogG+aAyiYB9fWfxAa985dLmH49vuuEYjX0xUpgIWEGWWc1o/zs5Ib3UfLGPP8gGGdeg/ yP3w== MIME-Version: 1.0 X-Received: by 10.220.95.132 with SMTP id d4mr5258vcn.67.1422527249236; Thu, 29 Jan 2015 02:27:29 -0800 (PST) Received: by 10.52.75.201 with HTTP; Thu, 29 Jan 2015 02:27:29 -0800 (PST) Date: Thu, 29 Jan 2015 11:27:29 +0100 Message-ID: Subject: Scripts in /bin like "wsdl2java" misses quotes (3.0.3) From: Morten Sabroe Mortensen To: issues@cxf.apache.org Content-Type: multipart/alternative; boundary=089e0158b2f65fc7ba050dc7ef53 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158b2f65fc7ba050dc7ef53 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all Shell scripts like "wsdl2java" misses quotes around the program name in the last line. The script "wsdl2java" detects Cygwin, but when I use it, I tend to get this: ".../bin/wsdl2java: line 77: /cygdrive/c/Program: No such file or directory" =E2=80=8BI do (of course) have Java installed under "Program Files" - $ which java /cygdrive/c/Program Files/Java/jdk1.7.0_71/bin/java - which contains a space in "Program Files". The problem in the scripts can be addressed by changing the last line - $JAVA_HOME/bin/java -Xmx128M -Djava.endorsed.dirs=3D"${cxf_home}/lib/endorsed" -cp "${cxf_classpath}" -Djava.util.logging.config.file=3D$log_config org.apache.cxf.tools.wsdlto.WSDLToJava "$@" =E2=80=8B =E2=80=8B- to contain quotes like - "$JAVA_HOME/bin/java" -Xmx128M -Djava.endorsed.dirs=3D"${cxf_home}/lib/endorsed" -cp "${cxf_classpath}" -Djava.util.logging.config.file=3D$log_config\ org.apache.cxf.tools.wsdlto.WSDLToJava "$@" =E2=80=8B I have found this in CXF 3.0.3. Med venlig hilsen Morten Sabroe Mortensen --089e0158b2f65fc7ba050dc7ef53--