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

RE: [Subclipse-users] SVN Ant proplist command

From: LIRA Olavo <Olavo.LIRA_at_gemalto.com>
Date: 2006-11-10 17:25:18 CET

Hello Martin,

        Here is my proposition:

====================================================================
proplist

List the name (or both the name and value) of all the properties that exists on a path.

Attribute Description Required
path path of the file or directory on which to set the property Yes
file file that will contain the value of the property
verbose If you want to retrieve the value also No

Example :
Without the verbose option:

<proplist path="workingcopy/propTest/toto.cpp"/>
or
<proplist path="workingcopy/propTest/toto.cpp" verbose="false"/>

 Would give the same result:
Properties on '/propTest/toto.cpp'
        info:curstomer
        info:country

With the verbose option:

<proplist path="workingcopy/propTest/toto.cpp" verbose="true"/>

Would give the following result:
Properties on '/propTest/toto.cpp'
        info:curstomer : Tigris
        info:country : Antartica
====================================================================

        What do you think?

========================================
Olavo Lira
Gemalto
Tel: +1.514.732.2320
Fax: +1.514.732.2301
3 Place du Commerce - Bureau 300
Île-des-Soeurs (Québec), Canada H3E 1H7
olavo.lira@gemalto.com
www.gemalto.com
========================================

-----Original Message-----
From: Martin Letenay [mailto:mle@whitestein.com]
Sent: Friday, November 10, 2006 2:25 AM
To: users@subclipse.tigris.org
Subject: RE: [Subclipse-users] SVN Ant proplist command

> Hello,
>
> Is it possible to add the "svn proplist" (also with the
> --verbose option) command within SVN Ant?
> I saw in the http://subclipse.tigris.org/svnant/svn.html but it
> seems it is not implemented...
>
> Thanks,

Yes, it is possible to add it.
Feel free to send the patch ;-)

Well, you can see from the existing tasks it's rather straightforward and
simple to add such task,
I even might be willing to do it someday (more precisely somenight) but the
question is what should be the task semantics/use ?

Do we want to e.g. put the comma separated list of props to some ant
property ?
Or to define prefixed ant property for each svn prop ?

Please, propose the <proplist> contract res. the documentation paragraph ...

Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Nov 10 17:24:53 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.