I just opened a pull request to make flatc optional + allow for a user-provided flatc: https://github.com/apache/arrow/pull/129
On Thu, Sep 1, 2016 at 3:11 PM, Laurent Goujon <laur...@dremio.com> wrote: > I should rephrase: there's no flatc binary artifact published on maven > central for windows and solaris architecture. > > Additionally maven (as instructed) will try to get the flatc compiler from > maven central and fail if not able. User has no option to specify an > alternate flatc compiler. > > It would be nice to avoid checking in the generated code as there's always > a time where the idl and the generated code is not in sync anymore (like > for Drill C++ protobufs). One can either contact the > https://github.com/vy/flatc to add artifacts for windows and solaris, or > provide a way for user to bypass it and provides a local flatc compiler? > > On Thu, Sep 1, 2016 at 1:21 PM, Wes McKinney <wesmck...@gmail.com> wrote: > >> flatc is available as a download from the flatbuffers GitHub releases: >> >> https://github.com/google/flatbuffers/releases >> >> Does that work? >> >> On Thu, Sep 1, 2016 at 4:20 PM, Jacques Nadeau <jacq...@apache.org> >> wrote: >> > I wonder if that means we should check in the generated code so people >> on >> > those platforms can still build the java. >> > >> > On Thu, Sep 1, 2016 at 1:04 PM, Laurent Goujon <laur...@dremio.com> >> wrote: >> > >> >> I guess there's no flatc compiler for windows and solaris (as hinted by >> >> https://github.com/vy/flatc) >> >> >> >> On Thu, Sep 1, 2016 at 12:12 PM, Sanjay Rao <getsanjay...@live.com> >> wrote: >> >> >> >> > If I try the same on my Windows with NetBeans IDE I would see similar >> >> error >> >> > Failed to execute goal org.apache.maven.plugins: >> >> > maven-dependency-plugin:2.10:copy (copy-flatc) on project >> arrow-format: >> >> > Unable to find artifact. Could not find artifact >> >> > com.vlkan:flatc-windows-x86_64:exe:1.2.0-3f79e055 in central ( >> >> > http://repo.maven.apache.org/maven2) >> >> > Try downloading the file manually from the project website. >> >> > Please let me know. >> >> > > From: getsanjay...@live.com >> >> > > To: dev@arrow.apache.org >> >> > > Subject: RE: Arrow Java Build Failiure >> >> > > Date: Thu, 1 Sep 2016 19:03:07 +0000 >> >> > > >> >> > > I actually did a clean of my .m2 repository on Solaris box and now >> I >> >> see >> >> > this error >> >> > > Failed to execute goal org.apache.maven.plugins: >> >> > maven-dependency-plugin:2.10:copy (copy-flatc) on project >> arrow-format: >> >> > Unable to find artifact. Could not find artifact >> >> > com.vlkan:flatc-sunos-sparc_64:exe:1.2.0-3f79e055 in central ( >> >> > https://repo.maven.apache.org/maven2) >> >> > > >> >> > > > From: getsanjay...@live.com >> >> > > > To: dev@arrow.apache.org >> >> > > > Subject: RE: Arrow Java Build Failiure >> >> > > > Date: Thu, 1 Sep 2016 18:45:21 +0000 >> >> > > > >> >> > > > I am trying to build with maven. >> >> > > > Thanks,Sanjay >> >> > > > > From: ja...@dremio.com >> >> > > > > Date: Thu, 1 Sep 2016 11:30:37 -0700 >> >> > > > > Subject: Re: Arrow Java Build Failiure >> >> > > > > To: dev@arrow.apache.org >> >> > > > > >> >> > > > > Are you trying to build using Maven or an IDE? I just checked >> out >> >> > the tip >> >> > > > > of master and was able to build and run the tests with "mvn >> clean >> >> > install". >> >> > > > > >> >> > > > > Jason Altekruse >> >> > > > > Software Engineer at Dremio >> >> > > > > Apache Drill Committer >> >> > > > > >> >> > > > > On Thu, Sep 1, 2016 at 11:25 AM, Sanjay Rao < >> getsanjay...@live.com >> >> > >> >> > wrote: >> >> > > > > >> >> > > > > > Hi, >> >> > > > > > I am unable to build Arrow Java version, it's failing with >> >> error: >> >> > package >> >> > > > > > com.google.flatbuffers does not exist >> >> > > > > > Thanks,Sanjay >> >> > > > >> >> > > >> >> > >> >> > >> >> >> > >