The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13161 
====================================================================== 
Reported By:                Frank Glinka
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13161
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-23 13:28 EDT
Last Modified:              2012-04-23 13:28 EDT
====================================================================== 
Summary:                    Java support can violate the command-line string
limitation
Description: 
Currently, the add_jar function composes a single command-line expression which
invokes javac and passes all java files as command-line arguments.

As soon as the number of Java files gets bigger and/or the files are placed in
folders with long path names, the system limit for command-line expressions is
easily reached.

Steps to Reproduce: 
Create a medium-sized java project with long path names to the Java files.

Additional Information: 
The Java compiler allows to provide a file as a program argument which lists the
source files to be compiled. This might be the better choice:

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-23 13:28 Frank Glinka   New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to