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

[Subclipse-users] SvnAnt: property prefix inconsistency

From: Ludwig, Michael <Michael.Ludwig_at_delphi-mb.de>
Date: Wed, 10 Nov 2010 08:48:48 +0100

SvnAnt tasks return information to the caller by setting various properties.

The caller can have the library apply prefixes to these properties.

There are inconsistencies in how prefixes are applied to these properties.

Here's an example:

  <typedef resource="org/tigris/subversion/svnant/svnantlib.xml" />
    <info target="." propPrefix="svn.info"/>
    <wcversion path="." prefix="svn.wcv."/><!-- extra dot -->
  <echoproperties prefix="svn"/>

svn.wcvmodified=true - without extra dot
svn.wcv.modified=true - with extra dot

The dot after "svn.wcv" shouldn't be required to get the latter version. The dot is automatically inserted for <info/>, and that seems correct to me: it's what I expected.

Also, a consistent name for the prefixing attribute might increase user-friendliness.

Otherwise, thanks for a very useful library!

Michael Ludwig


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-11-10 13:44:39 CET

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.