[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Is there any way to set encoding to CmdLineClientAdapter?

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-08-12 14:04:01 CEST

"ko_daigo@yahoo.co.jp" <ko_daigo@yahoo.co.jp> wrote on 08/12/2006 12:39:57
AM:

> I want to set commit message encoding to
> CmdLineClientAdapter. However, there is no way to set
> encoding to commit method.
>
> Is there any way to set encoding to CmdLineClientAdapter?
> Or is it possible to add following method?
>
> commit(java.io.File[] parents, java.lang.String comment,
> boolean b, String encoding)

Not that I am aware of. If you want to work on a patch, then what I would
recommend is that you look for a solution that does not require any
signature changes to the commit methods. For example, you could add
support for a system property that specifies the encoding. The command
line adapter could then check if this property exists, and if so, use it
for the encoding. I believe the command line has an option to specify the
encoding, so presumably you would use that.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Aug 12 14:04:31 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.