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

Compiler fork executable fails when the path has spaces

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.1
    • None
    • 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

              Unassigned Unassigned
              carlos Carlos Sanchez Gonzalez
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: