hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <t...@cloudera.com>
Subject Re: how to compile proto files?
Date Fri, 09 Dec 2011 18:14:30 GMT
Suresh,

One proto file at the time works, but doing *.proto fails complaining about
duplicate definitions.

Thxs.

Alejandro

On Thu, Dec 8, 2011 at 11:46 PM, Suresh Srinivas <suresh@hortonworks.com>wrote:

> Under hadoop-hdfs/src I run:
> Protoc -I=proto proto/<file>.proto --java_out main/src
>
>
>
> On Thursday, December 8, 2011, Alejandro Abdelnur <tucu@cloudera.com>
> wrote:
> > I'm trying to change the build to compile the proto files (instead
> checking
> > in the generated java files)
> >
> > However, I'm not able to run protoc successfully.
> >
> > Tried
> >
> > $ protoc -Isrc/proto/ --java_out=target/generated-sources/java
> > src/proto/*.proto
> >
> > but it does not work.
> >
> > Thanks.
> >
> > Alejandro
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message