Sander Verhagen created MOJO-1847:
-------------------------------------

             Summary: "The input line is too long" - long path name - Windows
                 Key: MOJO-1847
                 URL: https://jira.codehaus.org/browse/MOJO-1847
             Project: Mojo
          Issue Type: Bug
          Components: dita
         Environment: DITA-OT 1.5.4; dita-maven-plugin 1.0-beta-3; Maven 3.0.4; 
Windows; seen at Windows 7 Professional and Windows Server 2003 R2, but there's 
no reason to assume other Windows versions would do any better; Linux tested 
fine
            Reporter: Sander Verhagen
         Attachments: AbstractDitaMojo.java

If the project directory path is quite long the DITA build will fail. Seen this 
happen for different transtypes (xhtml, pdf).

        [INFO] --- dita-maven-plugin:1.0-beta-3:run (some-id) @ someproject ---
        The input line is too long.
        The syntax of the command is incorrect.

Further analysis shows that a huge CLASSPATH is set 
(AbstractDitaMojo.setupClasspathEnv/buildClasspathString). The contents of 
classpathElements is added to the CLASSPATH. This contents is based on 
${project.compileClasspathElements}. I would argue that the compile classpath 
is not needed for this plugin's execution, hence my suggested patch does not 
include those anymore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to