You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/11/08 23:25:58 UTC

[jira] [Commented] (THRIFT-3962) Ant build.xml broken on Windows for Java library

    [ https://issues.apache.org/jira/browse/THRIFT-3962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15649173#comment-15649173 ] 

Gary Gregory commented on THRIFT-3962:
--------------------------------------

I do not even get that far with master:

{noformat}
Buildfile: E:\vcs\git\github\garydgregory\apache\thrift\lib\java\build.xml

generate:
     [exec]
     [exec] [ERROR:E:/vcs/git/github/garydgregory/apache/thrift/test/ThriftTest.thrift:39] (last token was '(')
     [exec] syntax error
     [exec] [FAILURE:E:/vcs/git/github/garydgregory/apache/thrift/test/ThriftTest.thrift:39] Parser error during include pass.

BUILD FAILED
E:\vcs\git\github\garydgregory\apache\thrift\lib\java\build.xml:264: exec returned: 1
{noformat}

Could this be because I downloaded {{thrift.exe}} 0.9.3 from the Thrift site. Is it not compatible with the master branch?

> Ant build.xml broken on Windows for Java library
> ------------------------------------------------
>
>                 Key: THRIFT-3962
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3962
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.9.3
>         Environment: Apache Ant(TM) version 1.9.7 compiled on April 9 2016
> java version "1.8.0_91"
> Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
>            Reporter: Gary Gregory
>         Attachments: thrift-garygregory.patch
>
>
> The Ant build refers to a {{mkdir}} executable. There is no such thing on Windows, {{mkdir}} is an internal command. Instead use the Ant {{mkdir}} task.
> Patch attached.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)