ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David A. Bartmess" <dingod...@edingo.net>
Subject Re: Escape " in ANT script and Use CVS task
Date Sat, 19 Feb 2005 06:29:40 GMT
Oops, you're right... was reverting to my Perl scripting days... THanks for 
the correction!

On Friday 18 February 2005 03:34 pm, Dominique Devienne wrote:
> > -----Original Message-----
> > From: edingo@ns15.worldics.com [mailto:edingo@ns15.worldics.com] On
>
> Behalf
>
> > The "command" attribute is a text string passed directly to cvs, so
>
> use
>
> > whatever command you normally would use. And for the comment, you can
>
> use
>
> > any variable set prior to the call. For example, to add a file with a
> > given comment (either in a build.properties, a prior target, or the
> > command line), use:
> >
> > <target name="_put.cvs.file_">
> >    <echo message="Checkin CVS for [${file.name}]" level="debug" />
> >    <cvs cvsroot="${cvs.root}"
> >         cvsrsh="${cvs.rsh}"
> >         dest="${module.dir}"
> >         command="add -m \"${cvs.comment}\"
>
> ${build.dir}\${file.name}"/>
>
> You can't escape quotes like this in XML.
>
> You must use &quot; instead. (At least I think that's the correct
> entity)
>
> -DD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

-- 
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net
_________________________________________________________________
jSyncManager Development Team (http://www.jsyncmanager.org)
jSyncManager Email List
(https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
 
 But one should not forget that money can buy a bed but not sleep, 
 finery but not beauty, a house but not a home, 
 medicine but not health, luxuries but not culture, 
 sex but not love, and amusements but not happiness.

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


Mime
View raw message