Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS, mail # dev - how to compile proto files?


+
Alejandro Abdelnur 2011-12-08, 19:11
Copy link to this message
-
Re: how to compile proto files?
Suresh Srinivas 2011-12-09, 07:46
Under hadoop-hdfs/src I run:
Protoc -I=proto proto/<file>.proto --java_out main/src

On Thursday, December 8, 2011, Alejandro Abdelnur <[EMAIL PROTECTED]> 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
>
+
Alejandro Abdelnur 2011-12-09, 18:14
+
Suresh Srinivas 2011-12-09, 18:33