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