You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/02 19:22:42 UTC

DO NOT REPLY [Bug 11429] New: - lcp.bat produces error: "The input line is too long." when directory structure is deep.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11429>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11429

lcp.bat produces error: "The input line is too long." when directory structure is deep.

           Summary: lcp.bat produces error: "The input line is too long."
                    when directory structure is deep.
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: mmunz@apelon.com


win2k.  This is a batch file issue.  ant (the sh script) works fine under 
cygwin.  ant.bat, however, has the following restriction. 

If the directory structure is deep, lcp.bat, while compiling the variable 
LOCALCLASSPATH, will throw an error that reads "The input line is too long." .  
This effectively prevents one from using ant via the batch file.

to reproduce:  

Install ant in a "deep" directory. The following is the path that I use to 
reproduce the error.

D:\Matt\apelon\projects\official\AppServerExploration\apelon-ohm\emr-
software\subprojects\jboss-integrate\output\jboss-versions\7-2-2002\jboss-
all\tools

solutions:

None that I'm aware of -- I'm unfamiliar with the details of batch file syntax.

workarounds:

install ant in a "shallow" directory like "d:\ant".  This is not always 
possible (for an example, see the JBoss project's use of ant), which is why 
I've posted this defect.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>