Hi, On Thu, Sep 10, 2009 at 4:26 PM, George Georgiev <georgi.georg...@citrix.com> wrote: > Sure, but it is really hard for me to prepare something general since the > java output files are located in a different folders based on the package > specified in the proto file. > > I think it will be easier if the protoc provides this feature.
mmh, I understand. And if you do it from an ant-buildfile (often used in java projects) then it would be as well hard as ant has not really a notion of file-dependencies (yeah, ant sucks as build-tool). So I guess the best way is to add this feature in your local version of protoc (say, switched on with a commandline flag) and send a patch to this list for review and to be integrated in the mainline. -h > > Thanks > > -----Original Message----- > From: henner.zel...@googlemail.com [mailto:henner.zel...@googlemail.com] On > Behalf Of Henner Zeller > Sent: Thursday, September 10, 2009 4:21 PM > To: George Georgiev > Cc: Protocol Buffers > Subject: Re: protoc feature question > > Hi, > On Thu, Sep 10, 2009 at 4:16 PM, George Georgiev <georgi.georg...@citrix.com> > wrote: >> Hi, >> >> Is there a way to tell to protoc to recompile the files only if the >> output files are missing or are older than the input file? > > Isn't this what makefiles are for ? > > -h > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---