[
https://issues.apache.org/jira/browse/ARROW-12006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17306607#comment-17306607
]
Bob Tinsman commented on ARROW-12006:
-------------------------------------
The flatc issue is the biggest stumbling block to a Java developer working on
Windows. It took me a couple days to download Visual Studio and figure out how
to build flatc.
There are some instructions for it on the flatbuffer site, but the command line
things didn't work for me (it's not a familiar toolchain for me) so I launched
Visual Studio to build it.
I noticed that for many languages (C++, Rust, JS, C#) the generated source is
checked in.
There are various pros and cons to this, but I asked the dev mailing list to
find out how to proceed.
If we can check in the files, then people don't have to figure out how to get
flatc; on the other hand, someone would have to remember to build and check in
updated files whenever the binary format changes.
I looked at the Git logs and it seems like this is done by hand.
> [Java] Updates to make dev on Windows easier
> --------------------------------------------
>
> Key: ARROW-12006
> URL: https://issues.apache.org/jira/browse/ARROW-12006
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Environment: Windows 10, Java 8
> Reporter: Bob Tinsman
> Assignee: Bob Tinsman
> Priority: Major
>
> In the process of building Arrow for Java on Windows, I ran into some
> roadblocks, which I will address either through documenting in the README.md
> or code changes.
> So far, here's what I've got:
> * if you set Git to leave line endings alone (as LF as opposed to changing
> to CR-LF) checkstyle will give a spurious complaint about a file not ending
> in a LF
> * Java has no "native" flatc (flatbuffers compiler) so the Maven build gets
> an unofficial binary artifact; but there's no version for Windows. I can
> provide an overview for building it and installing the Maven artifact locally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)