You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by Alex Heneveld <al...@cloudsoftcorp.com> on 2014/07/25 19:49:04 UTC

[brooklyn] clean your project to avoid the rat

Hi folks,

When you pull down the change below (removal of whirr) you may find that 
the maven build fails due to rat errors in leftover target directories.  
You can fix this with a:

     git clean -df

Is there is any way to have RAT ignore any folder that git ignores?

I've opened a PR to the docs to help people if they hit RAT errors.  [1]

Best
Alex

[1]     https://github.com/apache/incubator-brooklyn/pull/97


On 25/07/2014 12:46, asfgit wrote:
> Github user asfgit closed the pull request at:
>
>      https://github.com/apache/incubator-brooklyn/pull/86
>
>
> ---
> If your project is set up for it, you can reply to this email and have your
> reply appear on GitHub as well. If your project does not have this feature
> enabled and wishes so, or if the feature is enabled but not working, please
> contact infrastructure at infrastructure@apache.org or file a JIRA ticket
> with INFRA.
> ---


Re: [brooklyn] clean your project to avoid the rat

Posted by Alex Heneveld <al...@cloudsoftcorp.com>.
Good idea Martin.  PR #97 now includes support for ignoring 
**/target/**.   Once that is merged folks can disregard the `git clean 
-df` instruction!

--A


On 25/07/2014 13:57, Martin Harris wrote:
> Sadly there's no integration between Rat and .gitignore
>
> It could be configured to ignore /target though
>
> Cheers
>
> M
> On 25 Jul 2014 18:49, "Alex Heneveld" <al...@cloudsoftcorp.com>
> wrote:
>
>> Hi folks,
>>
>> When you pull down the change below (removal of whirr) you may find that
>> the maven build fails due to rat errors in leftover target directories.
>>   You can fix this with a:
>>
>>      git clean -df
>>
>> Is there is any way to have RAT ignore any folder that git ignores?
>>
>> I've opened a PR to the docs to help people if they hit RAT errors.  [1]
>>
>> Best
>> Alex
>>
>> [1]     https://github.com/apache/incubator-brooklyn/pull/97
>>
>>
>> On 25/07/2014 12:46, asfgit wrote:
>>
>>> Github user asfgit closed the pull request at:
>>>
>>>       https://github.com/apache/incubator-brooklyn/pull/86
>>>
>>>
>>> ---
>>> If your project is set up for it, you can reply to this email and have
>>> your
>>> reply appear on GitHub as well. If your project does not have this feature
>>> enabled and wishes so, or if the feature is enabled but not working,
>>> please
>>> contact infrastructure at infrastructure@apache.org or file a JIRA ticket
>>> with INFRA.
>>> ---
>>>
>>


Re: [brooklyn] clean your project to avoid the rat

Posted by Martin Harris <ma...@cloudsoftcorp.com>.
Sadly there's no integration between Rat and .gitignore

It could be configured to ignore /target though

Cheers

M
On 25 Jul 2014 18:49, "Alex Heneveld" <al...@cloudsoftcorp.com>
wrote:

>
> Hi folks,
>
> When you pull down the change below (removal of whirr) you may find that
> the maven build fails due to rat errors in leftover target directories.
>  You can fix this with a:
>
>     git clean -df
>
> Is there is any way to have RAT ignore any folder that git ignores?
>
> I've opened a PR to the docs to help people if they hit RAT errors.  [1]
>
> Best
> Alex
>
> [1]     https://github.com/apache/incubator-brooklyn/pull/97
>
>
> On 25/07/2014 12:46, asfgit wrote:
>
>> Github user asfgit closed the pull request at:
>>
>>      https://github.com/apache/incubator-brooklyn/pull/86
>>
>>
>> ---
>> If your project is set up for it, you can reply to this email and have
>> your
>> reply appear on GitHub as well. If your project does not have this feature
>> enabled and wishes so, or if the feature is enabled but not working,
>> please
>> contact infrastructure at infrastructure@apache.org or file a JIRA ticket
>> with INFRA.
>> ---
>>
>
>