You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Rob van Oostrum <rv...@xs4all.nl> on 2002/08/21 17:02:58 UTC

cvstagdiff incorrectly parses rdiff output

Having split up our project into 6 CVS modules, we have an umbrella module
defined in CVSROOT/modules to make build tagging and such a bit easier:

all &scripts &ecx &app &schema &model &immapp


When I want to run a cvstagdiff as part of a build, I want to do this on the
'all' module rather than on each module individually, so as to get one
comprehensive report.

The parsing error occurs when the task parses the temp file containing the
rdiff output. It takes the package name (in this case 'all') to determine
how much to chop off from the start of the line, when the actual module name
in the output is not 'all' but the name of the underlying module. The parser
shouldn't trim any of this off, since from the view of the 'all' module,
this is the relative location of the file in question.

Desired behavior would be that it should only trim the first directory level
if it matches the package that the rdiff is being run on. I implemented this
and tested it on our project. Patch is attached.


cheers
Rob