You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Kuznetsov (JIRA)" <ji...@apache.org> on 2019/02/08 14:22:00 UTC

[jira] [Created] (IGNITE-11268) Unable to run control.bat or ignite.bat from Ignite source tree with compiled classes

Andrey Kuznetsov created IGNITE-11268:
-----------------------------------------

             Summary: Unable to run control.bat or ignite.bat from Ignite source tree with compiled classes
                 Key: IGNITE-11268
                 URL: https://issues.apache.org/jira/browse/IGNITE-11268
             Project: Ignite
          Issue Type: Bug
            Reporter: Andrey Kuznetsov


Under Windows, {{control}} and {{ignite}} scripts collect Java classpath value from {{%IGNITE_HOME%\modules\*\target}} directories into a variable. Batch script variable length is limited to 8k characters, and this leads to error when there are many compiled/packaged modules in a source tree.

Possible (yet imperfect) solutions:
- Limit modules list to some minimal required sublist.
- Create Class-Path-header-only jar "on the fly".
- (Java 9+ only) Generate command-line arguments file, see [1].

[1] https://docs.oracle.com/javase/9/tools/java.htm#JSWOR-GUID-4856361B-8BFD-4964-AE84-121F5F6CF111



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)