You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Sudheesh Katkam <sk...@maprtech.com> on 2015/04/01 02:38:18 UTC

RAT Error while generating sources from .proto files

Hey y’all,

I edited the BitControl.proto and I am trying to regenerate all proto sources. 

In the protocol dir, I executed mvn process-sources -P proto-compile, this removed all the Apache license headers and now RAT complains that there are 61 files with unapproved licenses. Did anyone face this problem before? If so, how did you resolve this?

$ mvn --version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00)
Maven home: /usr/local/Cellar/maven/3.2.5/libexec
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: “mac"

$ protoc --version
libprotoc 2.6.0

Thanks in advance!

- Sudheesh

Re: RAT Error while generating sources from .proto files

Posted by Sudheesh Katkam <sk...@maprtech.com>.
The readme.txt suggests mvn process-sources -P proto-compile which is the command that caused the error. I’ll fix the readme.txt to also include mvn clean install -P proto-compile

> On Apr 2, 2015, at 11:23 AM, Chris Westin <ch...@gmail.com> wrote:
> 
> For future: there's a readme.txt file in the protocol directory that
> describes that.
> 
> On Tue, Mar 31, 2015 at 6:34 PM, Sudheesh Katkam <sk...@maprtech.com>
> wrote:
> 
>> Fixed (thanks to Venki).
>> 
>> In protocol directory, run: mvn clean install -Pproto-compile
>> 
>> Thank you,
>> Sudheesh
>> 
>>> On Mar 31, 2015, at 5:38 PM, Sudheesh Katkam <sk...@maprtech.com>
>> wrote:
>>> 
>>> Hey y’all,
>>> 
>>> I edited the BitControl.proto and I am trying to regenerate all proto
>> sources.
>>> 
>>> In the protocol dir, I executed mvn process-sources -P proto-compile,
>> this removed all the Apache license headers and now RAT complains that
>> there are 61 files with unapproved licenses. Did anyone face this problem
>> before? If so, how did you resolve this?
>>> 
>>> $ mvn --version
>>> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
>> 2014-12-14T09:29:23-08:00)
>>> Maven home: /usr/local/Cellar/maven/3.2.5/libexec
>>> Java version: 1.7.0_75, vendor: Oracle Corporation
>>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre
>>> Default locale: en_US, platform encoding: UTF-8
>>> OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: “mac"
>>> 
>>> $ protoc --version
>>> libprotoc 2.6.0
>>> 
>>> Thanks in advance!
>>> 
>>> - Sudheesh
>> 
>> 


Re: RAT Error while generating sources from .proto files

Posted by Chris Westin <ch...@gmail.com>.
For future: there's a readme.txt file in the protocol directory that
describes that.

On Tue, Mar 31, 2015 at 6:34 PM, Sudheesh Katkam <sk...@maprtech.com>
wrote:

> Fixed (thanks to Venki).
>
> In protocol directory, run: mvn clean install -Pproto-compile
>
> Thank you,
> Sudheesh
>
> > On Mar 31, 2015, at 5:38 PM, Sudheesh Katkam <sk...@maprtech.com>
> wrote:
> >
> > Hey y’all,
> >
> > I edited the BitControl.proto and I am trying to regenerate all proto
> sources.
> >
> > In the protocol dir, I executed mvn process-sources -P proto-compile,
> this removed all the Apache license headers and now RAT complains that
> there are 61 files with unapproved licenses. Did anyone face this problem
> before? If so, how did you resolve this?
> >
> > $ mvn --version
> > Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
> 2014-12-14T09:29:23-08:00)
> > Maven home: /usr/local/Cellar/maven/3.2.5/libexec
> > Java version: 1.7.0_75, vendor: Oracle Corporation
> > Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: “mac"
> >
> > $ protoc --version
> > libprotoc 2.6.0
> >
> > Thanks in advance!
> >
> > - Sudheesh
>
>

Re: RAT Error while generating sources from .proto files

Posted by Sudheesh Katkam <sk...@maprtech.com>.
Fixed (thanks to Venki).

In protocol directory, run: mvn clean install -Pproto-compile

Thank you,
Sudheesh

> On Mar 31, 2015, at 5:38 PM, Sudheesh Katkam <sk...@maprtech.com> wrote:
> 
> Hey y’all,
> 
> I edited the BitControl.proto and I am trying to regenerate all proto sources. 
> 
> In the protocol dir, I executed mvn process-sources -P proto-compile, this removed all the Apache license headers and now RAT complains that there are 61 files with unapproved licenses. Did anyone face this problem before? If so, how did you resolve this?
> 
> $ mvn --version
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T09:29:23-08:00)
> Maven home: /usr/local/Cellar/maven/3.2.5/libexec
> Java version: 1.7.0_75, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.10.2", arch: "x86_64", family: “mac"
> 
> $ protoc --version
> libprotoc 2.6.0
> 
> Thanks in advance!
> 
> - Sudheesh