You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Bateman, Patrick eMEDIA" <Pa...@mytravel.com> on 2003/02/03 10:04:29 UTC

CVS Tag Diff not parsed correctly

Using the <cvstagdiff> task is getting confused with new and delete files.

The CVS diff output is as follows :-

File
mtcom/export/home/users/bv55user/wwwroot/html/branding/AH/summersun_02.gif
is new; current revision 1.1.2.1

The .XML output is as follows :-

<?xml version="1.0" encoding="UTF-8"?>
<tagdiff startTag="MT_3_00_04_05" endTag="MT_3_00_04_06" >
	<entry>
		<file>
	
<name>export/home/users/bv55user/wwwroot/html/branding/AH/summersun_02.gif</
name>
		</file>
	</entry> 

It has not picked up the fact that it is a new revision and thus the
resulting XML when applied to a style sheet will make the file as removed.

Is there a particular CVS/Ant version combination.

Thanks

Pat

CONFIDENTIAL AND PRIVILEGED - The information in this e-mail and in any
attachment is confidential and privileged and intended solely for the use of
the named addressee(s).  This information may be subject to legal,
professional or other privilege or may otherwise be protected by work
product immunity or other legal rules.  It must not be disclosed to any
person without authority.   If you are not the intended recipient or a
person responsible for delivering it to the intended recipient please
contact me immediately by e-mail, telephone or fax on the numbers above.