Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-180

classpaths with whitespaces do not work when compiling java jobs on the fly

    XMLWordPrintable

Details

    Description

      If the classpath has whitespaces (e.g. "c:\Program Files\scheduler\lib") the call to javac will not quote or escape these.
      Hence javac will treat strings after the whitespaces as additional arguments.

      javac: invalid flag: lib\activation.jar;c:/scheduler.al/new
      16:20:28.218 scheduler 0 2388.B88 672.250MB Usage: javac <options> <source files>
      16:20:28.218 scheduler 0 2388.B88 672.250MB where possible options include:
      ...

      Attachments

        Activity

          People

            jz Joacim Zschimmer
            al Andreas Liebert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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