You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/02/20 15:15:45 UTC
[jira] Commented: (CXF-1443) wsdl2js should protect itself from
spaces in CLASSPATH
[ https://issues.apache.org/jira/browse/CXF-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570698#action_12570698 ]
Daniel Kulp commented on CXF-1443:
----------------------------------
Not having a windows box (let alone cygwin), I'm probably not going to be too helpful, but here are some things to try:
1) Change the lines:
cxf_classpath=`cygpath --$format "${cxf_jar}"`
if [ ! -z "${CLASSPATH}" ]; then
cxf_classpath=${cxf_classpath}\;`cygpath --$format --path "${CLASSPATH}"`
fi
to
if [ ! -z "${CLASSPATH}" ]; then
cxf_classpath=`cygpath --$format --path "${cxf_jar};${CLASSPATH}"`
else
cxf_classpath=`cygpath --$format "${cxf_jar}"`
fi
2) Change the java invoke line to:
$JAVA_HOME/bin/java -cp "${cxf_classpath}" -Djava.util........
If any of that helps, let us know and we can make the changes in all the scripts.
> wsdl2js should protect itself from spaces in CLASSPATH
> ------------------------------------------------------
>
> Key: CXF-1443
> URL: https://issues.apache.org/jira/browse/CXF-1443
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.1
> Environment: cygwin
> Reporter: David Murgatroyd
> Priority: Minor
>
> cxf-2.1/bin/wsdl2js references CLASSPATH. If the directories on CLASSPATH contain spaces (e.g., "Program Files") this gives cygiwn fits. We (Basis Technology) may work around by unsetting CLASSPATH in our build env.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.