You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Murgatroyd (JIRA)" <ji...@apache.org> on 2008/02/19 23:54:43 UTC

[jira] Created: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

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


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.


[jira] Commented: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570793#action_12570793 ] 

Benson Margulies commented on CXF-1443:
---------------------------------------

I had forgotten that I am the perpetrator of all the cygwin support. 

I'll assign this to me and find a windows box. I'm no longer sitting in front of one all the time.


> 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.


[jira] Updated: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

Posted by "David Murgatroyd (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Murgatroyd updated CXF-1443:
----------------------------------

    Priority: Minor  (was: Major)

> 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.


[jira] Assigned: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies reassigned CXF-1443:
-------------------------------------

    Assignee: Benson Margulies

> 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
>            Assignee: Benson Margulies
>            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.


[jira] Resolved: (CXF-1443) wsdl2js should protect itself from spaces in CLASSPATH

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies resolved CXF-1443.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

I think this was a simple matter of a very few missing "'s.

> 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
>            Assignee: Benson Margulies
>            Priority: Minor
>             Fix For: 2.1
>
>
> 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.