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

Compiler fork executable fails when the path has spaces

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      JAVA_1_3_HOME=C:\Program Files\Java\jdk1.3.1_18

      <plugin>
      <artifactId>maven-compiler-plugin</artifactId>
      <configuration>
      <fork>true</fork>
      <compilerVersion>1.3</compilerVersion>
      <executable>${JAVA_1_3_HOME}/bin/javac</executable>
      </configuration>
      </plugin>

      Fails with

      Failure executing javac, but could not parse the error:
      'C:\Program' is not recognized as an internal or external command,
      operable program or batch file.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                carlos Carlos Sanchez
              • Votes:
                4 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: