You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Crossley <cr...@apache.org> on 2004/03/02 02:04:46 UTC

Re: whitespace cleanup and efficiency drive

David Crossley wrote:
> Joerg Heinicke wrote:
> > Joerg Heinicke wrote:
> > 
> > > I might be wrong but today I had the feeling that Eclipse just ignores 
> > > the default -kkv set in Eclipse itself and adds every file with unknown 
> > > file ending as binary. You maybe have to add your file endings at 
> > > "Window > Preferences > Team > File Content".
> > 
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=52333
> 
> I made a better script which detects such problems in
> our CVS. It is now in the "committers" module:
> cvs/committers/tools/find_binary_text.pl
> 
> We have quite a number of these problem files in cocoon-2.1
> I noticed a new one come in today with Carsten's commit
> of portal.samplesxconf

The recent commit of all the *.license files proved that Eclipse
is the culprit. Until their Bug 15119 is fixed (please vote for it),
the Eclipse users should use the workaround to add the unknown
text types.

The find_binary_text.pl script reports these problems:
.ai
.css
.dtd
.gt
.in
.jar-lincense
.jdo
.jj
.js
.jx
.license
.mod
.pagesheet
.samplesxconf
.svg
.template
.xconf
.xhtml
.xmap
.xmi
.xroles
.xsamples
.xsl
.xslt
.xsp
.xtest
.xweb
.xwelcome




Re: whitespace cleanup and efficiency drive

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Bertrand Delacretaz wrote:

> Le Mercredi, 3 mars 2004, à 11:16 Europe/Zurich, David Crossley a écrit :
>
>> ...I wonder if it is true that almost every committer uses Eclipse?
>> I use command-line cvs.
>
>
> FWIW, I use IDEA, and often command-line CVS as well.
> The transparency of the command-line makes me feel safer ;-)


I have IDEA but had not time yet to try its CVS client (...it requires 
to change cvsroot...), so I'm using command line.

Vadim


Re: whitespace cleanup and efficiency drive

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le Mercredi, 3 mars 2004, à 11:16 Europe/Zurich, David Crossley a écrit 
:
> ...I wonder if it is true that almost every committer uses Eclipse?
> I use command-line cvs.

FWIW, I use IDEA, and often command-line CVS as well.
The transparency of the command-line makes me feel safer ;-)

-Bertrand


Re: whitespace cleanup and efficiency drive

Posted by David Crossley <cr...@apache.org>.
Joerg Heinicke wrote:
> Vadim Gritsenko wrote:
> >David Crossley wrote:
> >>
> >> The recent commit of all the *.license files proved that Eclipse
> >> is the culprit. Until their Bug 15119 is fixed (please vote for it),
> >> the Eclipse users should use the workaround to add the unknown
> >> text types.
> >>
> >> The find_binary_text.pl script reports these problems:
> >> .ai
> >> .css
> >> .dtd
> >> .gt
> >> .in
> > ...
> > 
> > You know that you can use cvs admin to change keyword substitution, right?
> 
> Of course, but you *have* to do it as Eclipse uses binary as default and 
> not text like the command line cvs client. We never took care about it 
> as it probably never was a problem. But since almost everybody seems to 
> use Eclipse also for committing and especially adding files we had some 
> issues in our CVS.


Thanks Vadim, yes we know that we can use 'cvs admin' - Joerg and i
have been doing that to manually fix the mess that people create by
using Eclipse in its current state.

I wonder if it is true that almost every committer uses Eclipse?
I use command-line cvs.

--David



Re: whitespace cleanup and efficiency drive

Posted by Joerg Heinicke <jo...@gmx.de>.
On 02.03.2004 14:34, Vadim Gritsenko wrote:

>>> We have quite a number of these problem files in cocoon-2.1
>>> I noticed a new one come in today with Carsten's commit
>>> of portal.samplesxconf
>>>   
>>
>>
>> The recent commit of all the *.license files proved that Eclipse
>> is the culprit. Until their Bug 15119 is fixed (please vote for it),
>> the Eclipse users should use the workaround to add the unknown
>> text types.
>>
>> The find_binary_text.pl script reports these problems:
>> .ai
>> .css
>> .dtd
>> .gt
>> .in
>>  
>>
> ...
> 
> You know that you can use cvs admin to change keyword substitution, right?

Of course, but you *have* to do it as Eclipse uses binary as default and 
not text like the command line cvs client. We never took care about it 
as it probably never was a problem. But since almost everybody seems to 
use Eclipse also for committing and especially adding files we had some 
issues in our CVS.

Joerg

Re: whitespace cleanup and efficiency drive

Posted by Vadim Gritsenko <va...@reverycodes.com>.
David Crossley wrote:

>David Crossley wrote:
>  
>
...

>>We have quite a number of these problem files in cocoon-2.1
>>I noticed a new one come in today with Carsten's commit
>>of portal.samplesxconf
>>    
>>
>
>The recent commit of all the *.license files proved that Eclipse
>is the culprit. Until their Bug 15119 is fixed (please vote for it),
>the Eclipse users should use the workaround to add the unknown
>text types.
>
>The find_binary_text.pl script reports these problems:
>.ai
>.css
>.dtd
>.gt
>.in
>  
>
...

You know that you can use cvs admin to change keyword substitution, right?

Vadim

[1] http://blog.reverycodes.com/archives/000007.html