The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13028 ====================================================================== Reported By: ngladitz Assigned To: ====================================================================== Project: CMake Issue ID: 13028 Category: Modules Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2012-03-08 06:47 EST Last Modified: 2012-03-08 06:47 EST ====================================================================== Summary: UseJava.cmake add_jar generated command line too long for nmake Description: add_jar with a long list of java source files fails during the build when using the nmake generator at the custom command "Building Java objects for "[..].
The (truncated) nmake error is: NMAKE : fatal error U1095: expanded command line 'echo && "C:\Program Files\Java\jdk1.6.0_20\bin\javac.exe" [...]' too long Can this be worked around with argument files depending on the (type of) generator being used? ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-03-08 06:47 ngladitz 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
