Skip to content

Conversation

@erikpelgrim
Copy link
Contributor

Updated thrift jars
Added thrift 0.11 executable
Updated build_thrift.xml accordingly

Update jars, add Thrift executable
Copy link
Contributor

@nielsdrost nielsdrost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @erikpelgrim , thanks!

I'm a bit in doubt as to what we should do with the windows-only thrift compiler. I'm inclined to leave it like this.

Would it be an idea to also add a "build-using-system-thrift" target that uses the system-installed thrift? That way I can use it under linux too, though I'll have to bew carefull of the thrift version.

<echo>Generating ${output_language} code in ${output_dir} using thrift code from ${input_file}</echo>
<exec executable="thrift" failonerror="${failonerror}">
<arg line="-out ${output_dir}"/>
<exec executable="${resourcesdir}\thrift\thrift-0.11.0.exe" failonerror="${failonerror}">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works under Windows. However, it does solve the versioning problem with thrift. @nilsvanvelzen what do you think?

@nielsdrost nielsdrost assigned erikpelgrim and unassigned nielsdrost May 19, 2020
Make windows only thrift build a separate ant task
@erikpelgrim
Copy link
Contributor Author

I made a separate "build-windows-only" ant task and let the original as is (can be used on linux).

I looked into also creating a linux-only task but the set of thrift files was 18 mb and I did not see an easy "plug and play" option like the windows executable.

Therefore I decided to keep the original build target and make the "windows-only" an addition for windows dummies like me.

@nielsdrost
Copy link
Contributor

Hello @erikpelgrim, I'm trying out the build on Linux, and I think we need an additional dependency in the thrift build "javax.annotation.version=1.3.2" to make it success on Java 11. Which java version do you normally use?

@erikpelgrim
Copy link
Contributor Author

erikpelgrim commented Jun 15, 2020 via email

@wkramer
Copy link
Member

wkramer commented Jun 16, 2020

Note that the latest versions of Java 8 cannot be used without a license by non-developers.
We have a custom build JRE based on OpenJDK 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants