cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morten Sabroe Mortensen <morten.sabroe.morten...@gmail.com>
Subject Scripts in /bin like "wsdl2java" misses quotes (3.0.3)
Date Thu, 29 Jan 2015 10:27:29 GMT
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"

​I 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="${cxf_home}/lib/endorsed" -cp "${cxf_classpath}"
-Djava.util.logging.config.file=$log_config
org.apache.cxf.tools.wsdlto.WSDLToJava "$@"
​
​- to contain quotes like -

"$JAVA_HOME/bin/java" -Xmx128M
-Djava.endorsed.dirs="${cxf_home}/lib/endorsed" -cp "${cxf_classpath}"
-Djava.util.logging.config.file=$log_config\
org.apache.cxf.tools.wsdlto.WSDLToJava "$@"
​
I have found this in CXF 3.0.3.

Med venlig hilsen
Morten Sabroe Mortensen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message