[
https://issues.apache.org/jira/browse/THRIFT-4224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16041231#comment-16041231
]
Leon Wang commented on THRIFT-4224:
-----------------------------------
[~jensg] Thanks for taking care! I tried to use the command line as below and
the compiling passed:
thrift --gen java src\main\thrift\serverclient.thrift
Looks more like an issue of maven-thrift-plugin. I am closing this defect.
Thank you!
> Compile Thrift generated Java code fails on Windows: The command line is too
> long.
> ----------------------------------------------------------------------------------
>
> Key: THRIFT-4224
> URL: https://issues.apache.org/jira/browse/THRIFT-4224
> Project: Thrift
> Issue Type: Bug
> Components: Java - Library
> Affects Versions: 0.9.1, 0.9.3, 0.10.0
> Reporter: Leon Wang
>
> Compile thrift file to Java in IntelliJ failed due to "The command line is
> too long" on Windows 7. Tried on 0.9.1/0.9.3/0.10.0, both failed as same
> reason.
> Log:
> [INFO] --- maven-thrift-plugin:0.1.11:compile (thrift-sources) @
> vip-api-serverclient ---
> [ERROR] thrift failed output:
> [ERROR] thrift failed error: The command line is too long.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)