You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Aronszajn, Mark" <ma...@fhcrc.org> on 2001/09/04 19:36:16 UTC

summary attribute w. replace task not working?

I want to get a summary of modifications made with a replace task and the
user manual
says there's a summary attribute for the replace task that does just this,
but I use it in my
replace task:
	<!-- Replace Test Target -->
	<target name="replacetest">
		<replace
			dir="${propSrcDir}"
			token=":gene"
			value=":array"
			includes="gene.properties"
			summary="yes"/>
	</target>
and I get a complaint from ant saying:

    Buildfile: build.xml

    replacetest:

    BUILD FAILED

    /Array/build.xml:188: Class org.apache.tools.ant.taskdefs.Replace
doesn't support the "summary" attribute

What gives?

Mark Aronszajn
Biocomputing/Shared Resources
Fred Hutchinson Cancer Research Center

Re: summary attribute w. replace task not working?

Posted by Diane Holt <ho...@yahoo.com>.
You need release 1.4 (see rev 1.15 of Replace.java in CVS).

Diane

--- "Aronszajn, Mark" <ma...@fhcrc.org> wrote:
> I want to get a summary of modifications made with a replace task and
> the
> user manual
> says there's a summary attribute for the replace task that does just
> this,
> but I use it in my
> replace task:
> 	<!-- Replace Test Target -->
> 	<target name="replacetest">
> 		<replace
> 			dir="${propSrcDir}"
> 			token=":gene"
> 			value=":array"
> 			includes="gene.properties"
> 			summary="yes"/>
> 	</target>
> and I get a complaint from ant saying:
> 
>     Buildfile: build.xml
> 
>     replacetest:
> 
>     BUILD FAILED
> 
>     /Array/build.xml:188: Class org.apache.tools.ant.taskdefs.Replace
> doesn't support the "summary" attribute
> 
> What gives?
> 
> Mark Aronszajn
> Biocomputing/Shared Resources
> Fred Hutchinson Cancer Research Center


=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com