printing &Quote; text to a file

"Justin Daubenmire" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
Hi,
 
I need to print the actual text "&quote" (minus the quote marks) to a
file and not have nant translate that to a " character.
 
I have tried ${'&quot;'} but it still prints the " mark rather than the
text &quot;.
 
How can I get this to work?
 
I'm trying to put this escape sequence in a properties file and using
this to merge:
 
      <filterchain>
        <expandproperties />
      </filterchain>

 
All merges fine accept the &quote; is translated to " during the
process.
 
My property in the property file is like this:
 
<property name="connection.string" value="connection
string=${'&quot;'}database=foo;uid=foo;pwd=foo;${'&quot;'}"/>
 
In the new file, I am expecting to see this:
&quot;database=foo;uid=foo;pwd=foo;&quot;
 
but get this...
 
"database=foo;uid=foo;pwd=foo;"
 
 
Thanks!
 
 
/Justin

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.