AZ> I try to send mail via ant mail target
AZ> <property name="message" value="line 1 \n line 2"/>
AZ> the result body is line 1 \n line 2
AZ> is there any option to send 2 lines in the message ( with out file) ?
(Trick with \n)
1. Put single line "NL=\n" in NL.properties file
2. Include this file in your build.xml
<property file="NL.properties"/>
3. Now may use ${NL} as "\n", for example
<property name="message" value="line 1 ${NL} line 2"/>
BTW. Does anyone suggest more simple way to use special symbols like
\n,\t,etc. within attribute value. I surfed Ant 1.4.1 docs and couldn't find answer.
(Guess answer may be in XML docs :))
Thx.
--
Best regards,
Eugene Voytitsky mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>