Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-1046

workbench.bat proxies options does not work in an absolute path with spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • OpenCMIS 1.1.0
    • OpenCMIS 1.2.0
    • opencmis-workbench
    • Windows 10

    Description

      I tried to add proxy options to workbench.bat but it was unsuccessful, cmis workbench said "no proxy options set". I removed the "echo off" command inside workbench.bat to show this error :

      Unable to find source-code formatter for language: batch. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      for /F "delims=/" %x in ('"java -classpath .;C:\Users\mflament\OneDrive - C09280 - NUMEN\Tools\chemistry-opencmis-workbench-1.1.0-full\\lib\* org.apache.chemistry.opencmis.workbench.ProxyDetector -j -s"') do set "JAVA_PROXY_CONF=%x"
      Unrecognized option: -
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

      Inside a folder like Temp :
      C:\Temp\chemistry-opencmis-workbench-1.1.0-full
      It works as expected with proxy options set.

      (sorry, I don't have enough time to offer a fix)

      Attachments

        Activity

          People

            fmui Florian Müller
            Mflament Mickael Flament
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified