Benjamin Bentmann schrieb:
> Rainer Pruy wrote:
> 
>> This might be true for an all java world,
>> nevertheless, in case the maven default deviates from your platform one,
>> how does an editor know where to get the proper encoding for a given
>> file?
>> (It would be quite difficult to enrich *any* editor around with some
>> logic to default to "maven" encoding in case there is a pom along
>> the path. so, it might work for IDEs where all aspects are tightly
>> integrated..)
>>
>> (Personally, I would not like to be forced to dump good ol' vi (;-))
> 
> Surely, text editors shouldn't be aware of a Maven POM somewhere hanging
> around with an encoding setting burried in it, nor should people drop
> their favorite editors. I simply expect the user to tell both Maven and
> its text editor what the desired encoding is. I mean, when you work on a
> Maven project and its sources, you would like to edit a file with the
> same encoding as your colleagues do, don't you? So it's not about
> syncing your editor to Maven but syncing Maven to the convention of your
> team.

To be honest,
I use to run recode on check-out / check-in to ensure checked-in versions are 
consistent with "standard" and checked-out ones are
conforming to my local environment.
This way my editor is doing the right thing.

(And I save some brain work for figuring out what project is using what 
encoding as of now. Just an aside: my world is not maven-only,
and some projects won't change encoding just to get in sync with some tool)

Thus I'm still with "force people stating encoding explicitly and don't twiddle 
around with default settings that won't solve the
problem in the first place".


> 
> 
> Benjamin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
Rainer Pruy
Geschäftsführer

Acrys Consult GmbH & Co. KG
Untermainkai 29-30, D-60329 Frankfurt
Tel: +49-69-244506-0 - Fax: +49-69-244506-50
Web: http://www.acrys.com -  Email: [EMAIL PROTECTED]
Handelsregister: Frankfurt am Main, HRA 31151

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to