Uploaded image for project: 'Maven Compiler Plugin'
  1. Maven Compiler Plugin
  2. MCOMPILER-99

Spaces in for external executable are not accepted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.4
    • None
    • Windows XP

    Description

      When the path to the external executable in <executable> contains space(s), the build will fail: the command is misunderstood because it stops at the first space encountered.

      Example:
      <executable>C:\Program Files\java\jdk1.6.0_11\bin\javac.exe</executable>
      The plugin will try to execute "C:\Program" instead.

      On windows the only workaround I know of is:
      <executable>C:\PROGRA~1\java\jdk1.6.0_11\bin\javac.exe</executable>

      Attachments

        Activity

          People

            olamy Olivier Lamy
            jmborer Jean-Marc Borer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: