IMO, committing generated code is not a good idea. I'd rather put the burden
on developers of installing protoc (they have to do it for Java, Maven,
Forrest, and all the autoconf stuff if compiling native).
I would document protoc as required tool.
On Thu, Aug 18, 2011 at 10:50 AM, Eli Collins <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 18, 2011 at 10:29 AM, Mahadev Konar <[EMAIL PROTECTED]>
> > Eli,
> > I think its protoc. Do you have protoc installed?
> Installing protoc (and adding /usr/local/lib to my ld lib path) got it
> working. If we don't check in the generated sources please update the
> HowToContribute wiki with this dep (or make the build error nicer),
> otherwise we'll get lots of queries on the list.
> > mahadev
> > On Thu, Aug 18, 2011 at 10:28 AM, Eli Collins <[EMAIL PROTECTED]> wrote:
> >> Hey gang,
> >> I'm running mvn clean install from the hadoop-mapreduce directory on
> >> an svn co of trunk (hadoop-common) and get the following:
> >> [ERROR] Failed to execute goal
> >> org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-sources) on
> >> project hadoop-yarn-api: Command execution failed. Process exited with
> >> an error: 1(Exit value: 1) -> [Help 1]
> >> I'm using mvn version 3.0.3.
> >> Thanks,
> >> Eli