Got it, thx. BTW, for branch-1, how about doing an ant task as part of the build that does that.
Thx On Wed, Nov 21, 2012 at 11:44 AM, Matt Foley <mfo...@hortonworks.com> wrote: > Hi Alejandro, > For build-time issues in branch-2 and beyond, this may make sense (although > I'm concerned about obscuring functionality in a way that only maven > experts will be able to understand). In the particular case of > saveVersion.sh, I'd be happy to see it done automatically by the build > tools. > > However, for build-time issues in the non-mavenized branch-1, and for > run-time issues in both worlds, the need for cross-platform scripting > remains. > > Thanks, > --Matt > > On Wed, Nov 21, 2012 at 11:25 AM, Alejandro Abdelnur <t...@cloudera.com > >wrote: > > > Hey Matt, > > > > We already require java/mvn/protoc/cmake/forrest (forrest is hopefully on > > its way out with the move of docs to APT) > > > > Why not do a maven-plugin to do that? > > > > Colin already has something to simplify all the cmake calls from the > builds > > using a maven-plugin (https://issues.apache.org/jira/browse/HADOOP-8887) > > > > We could do the same with protoc, thus simplifying the POMs. > > > > The saveVersion.sh seems like another prime candidate for a maven plugin, > > and in this case it would not require external tools. > > > > Does this make sense? > > > > Thx > > > > -- > > Alejandro > > > -- Alejandro