[
https://issues.apache.org/jira/browse/THRIFT-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101097#comment-13101097
]
Raphaël Bartement commented on THRIFT-1285:
-------------------------------------------
Both displayed version and generated code looks good. There's no trace of the
"Scheme" feature from trunk.
This binary seems ok.
> Stable 0.7.0 Windows compiler exe available on the webside is not the good one
> ------------------------------------------------------------------------------
>
> Key: THRIFT-1285
> URL: https://issues.apache.org/jira/browse/THRIFT-1285
> Project: Thrift
> Issue Type: Bug
> Components: Website
> Affects Versions: 0.7
> Reporter: Raphaël Bartement
> Assignee: Jake Farrell
> Priority: Blocker
>
> On the main Thrift web site, in [the download
> section|http://thrift.apache.org/download/], the Release link to "Thrift
> compiler for Windows" do not lead to the tagged 0.7.0 stable release version
> of the compiler.
> I think this is a trunk snapshot binary instead.
> Running {{monospacedthrift-0.7.0.exe -version}}
> returns {{Thrift version 0.7.0-dev}}.
> Before, I tested Java generation.
> With this file:
> {code:title=Test.thrift}
> namespace java org.test
> struct Foo {}
> {code}
> I get:
> {code:java|:title=Foo.java}
> /**
> * Autogenerated by Thrift Compiler (0.7.0-dev)
> *
> * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
> */
> package org.test;
> import org.apache.thrift.scheme.IScheme;
> import org.apache.thrift.scheme.SchemeFactory;
> import org.apache.thrift.scheme.StandardScheme;
> ...
> {code}
> I checked in subversion, the "Scheme"-related code has been introduced into
> the trunk, but is not part of 0.7.x branch and 0.7.0 tag.
> Thus, the generator code won't compile with the 0.7.0 java lib.
> May you check this binary?
> I'd like to use the official stable one.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira