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

[Subclipse-users] propget limitation/propset abscence in svnant task

From: Douglas Russell <douglas.russell_at_comlab.ox.ac.uk>
Date: 2006-10-20 16:19:55 CEST

One thing I want to do in my ant script is get the subclipse:tags property
from a folder, then append something to it and propset it again. This works
perfectly except in the case where the subclipse:tags property does not
exist. In this situation a propget leads to a Null Pointer Exception and thus
a build failure. As there is no way (That I know of) in ant to continue on
failure I'm at a bit of an impass.

There seems to be no way in svnant of doing proplist (Which I would happily
use in combination with a conditional contains task to determine if the
property exists), is there something I have overlooked?

Presumably proplist could be added to the svnant task quite easily as it must
be in subclipse as eclipse must use it all the time?

I have now added myself to the list so no need for CC.
Cheers again

Douglas

-- 
Douglas PW Russell
Research Officer / Systems Administrator - GIMI
Research Officer / Systems Administrator - NeuroGrid
Oxford University Computing Laboratory
Tel:	+44 (0)1865 283519
email:	douglas.russell@comlab.ox.ac.uk

  • application/pgp-signature attachment: stored
Received on Fri Oct 20 16:22:47 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.