ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Woehr <...@purematrix.com>
Subject Using the XML comment character <!-- in Ant
Date Wed, 01 Oct 2003 18:46:15 GMT
I'm doing some copies with filterset. I'm modifying a JBoss .jcml file. I want
to conditionally insert XML comment brackets (<!-- -->) in the output.

I've tried setting a property to the desired text, e.g., various permutations
of 

	<property name=foo value="[!CDATA[<!-- ]]"/>

etc., all of which makes Ant barf. Any tips on how to do this? Thanks.

-- 
Jack J. Woehr            # "[F]ar in the empty sky a solitary esophagus slept
http://www.well.com/~jax #  upon motionless wing; everywhere brooded stillness,
http://www.softwoehr.com #  serenity, and the peace of God." - Mark Twain

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message