Problem with french messages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with french messages

Olivier M
Hi,

I have a problem with checkstyle 3.5 in my ant script.
BUILD FAILED: build.xml:74: java.lang.IllegalArgumentException: can't
parse argument number '' et ''

I think there is a problem with the french messages. How can I
configure to use english insted of french (my OS is in french) in the
ant script ?

(I don't want to use the version 4.0beta of checkstyle).

Thanks.

Regards

Olivier


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. <a href="http://ads.osdn.com/?ad_idt77&alloc_id492&op=click">http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
Reply | Threaded
Open this post in threaded view
|

Re: Problem with french messages

Oleg Sukhodolsky
Hi Olivier,

I think you have two options:
1. fix the problem in message and recompile checkstyle from sources
2. create your own message file which will be more specific than just messages_fr.properties
(i.t. its name should contain variant) according to your default locale.
On my computer locale is en_US, so I created file messages_en_US.properties,
placed it in directory classes\com\puppycrawl\tools\checkstyle\ and added
classes to classpath for checkstyle.  After that checkstyle uses my patched messages.

Hope this helps.

With best regards, Oleg.

Olivier M wrote:

> Hi,
>
> I have a problem with checkstyle 3.5 in my ant script.
> BUILD FAILED: build.xml:74: java.lang.IllegalArgumentException: can't
> parse argument number '' et ''
>
> I think there is a problem with the french messages. How can I
> configure to use english insted of french (my OS is in french) in the
> ant script ?
>
> (I don't want to use the version 4.0beta of checkstyle).
>
> Thanks.
>
> Regards
>
> Olivier
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. <a href="http://ads.osdn.com/?ad_idt77&alloc_id492&op=click">http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
> _______________________________________________
> Checkstyle-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/checkstyle-user
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Checkstyle-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user