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

Re: [Subclipse-dev] JavaHL, JavaSvn, Command Line Interface; the way ahead?

From: Daniel Rall <dlr_at_collab.net>
Date: 2005-10-12 00:49:55 CEST

On Tue, 20 Sep 2005, Mark Phippard wrote:
...
> > Yes, I agree that the XML flavours of the commands will make for more
> > reliable
> > parsing of the results. Would you mind enlightening me on the
> > complications of
> > advance commands where dodginess is expected even if XML results are
> > provided?
>
> No, the issue is that right now most of the commands do not have an --xml
> option. Once they all do, I would expect this issue to get a lot better.
> This adapter will always be the slowest but it should be possible for it
> to become a lot more reliable.

As Mark mentions, most commands are growing --xml arguments on Subversion's
dev branch. The schemas for each command's output are now RelaxNG-based
(compactform), from which XSDs, DTDs, and RNG schemas are generated by the
build system.

Though the commandline output was designed to be machine-parsable, in some
instances it does not offer as much access to information as coding against
the APIs. The XML output has already become the preferred form of
integration to the commandline client for some tools (e.g. CruiseControl),
and as the XML output spreads to other commands, this trend is likely to
continue.
Received on Wed Oct 12 08:49:55 2005

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