Yeah, this is really a build system feature. make/maven/etc should check whether the proto compiler needs to be reinvoked.
On Thu, May 26, 2011 at 2:16 AM, Maurice Nicholson < maur...@mauricenicholson.com> wrote: > Answering my own question :-) > > Think I found what I need in the Maven plugin docs: > > " > Normally this plug-in executes the protoc compilation on every > execution > this can be overriden by setting: > <checkStaleness>true</checkStaleness> > " > > From https://github.com/dtrott/maven-protoc-plugin#readme > > On May 25, 9:43 pm, Maurice Nicholson <maur...@mauricenicholson.com> > wrote: > > Hi all, > > > > is there an option for protoc to only generate files if the target > > generated sources are out of date? (Currently it seems as if they are > > always regenerated). > > > > We actually use Maven with the maven-protoc-plugin to build our > > project, but I believe that's simply a wrapper around protoc itself. > > > > Thanks, > > Maurice > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to protobuf@googlegroups.com. > To unsubscribe from this group, send email to > protobuf+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.