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

Re: [Subclipse-dev] [PATCH] New svnant task to fetch WC summary status

From: Matt Doran <matt.doran_at_papercut.biz>
Date: 2005-08-30 14:13:02 CEST

Martin Letenay wrote:

>The question is exactly that you are asking:
>how to provide ant user the option to choose 1 of 3 client adapter
>As a temporary solution I introduced there another "javasvn" attribute to
>ant task, so now when you want
>to go JavaSVN way you have to specify "javahl=false javasvn="true".
>But I don't really like it.
>Any more elegant proposal ? (I was thinking of parameter with 3 possible
>values, but I'm not sure whether I like it either)

I agree, neither is ideal. I went through the same thought process, and
didn't come up with anything. I think what you've done is fine, most
people won't bother with setting these properties and will just use the
implementation that is available.

The multi-property approach might be best, because you can specify which
implementations you will allow to be used (if you really care). But
using that logic, you'd also need a property for the cmd line. ???

In the end it doesn't really matter ... :)

I noticed that you default javasvn=true, so to use JavaSVN you really
only need to do "javahl=false" .... and that's the way it probably
should be.

Received on Tue Aug 30 22:13:02 2005

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