Hi, two problems with antcontrib
Env = Win2000 / Ant 1.6.2 / ancontrib - 0.4
here is my snippet :
** Problem Nr.1 =
...
<echo file="T:\test/infomail_tolist.txt">
${infomail.owner} <--
Avg-${infomail.project}-Developer <-- properties set above
Avg-GR13-SCM-CS <--
</echo>
...
infomail_tolist.txt looks like :
Test User
IT123
Avg-testproject
-Developer <-- unexpected linefeed here !?
Avg-GR13-SCM-CS
should be
Avg-testproject-Developer
** Problem Nr.2 =
Property ${infomail.module} may contain one or more values
f.e. T7 or T7, TS or T7, TS, TP ...
I want to prove whether TS is contained in property
when using =
<if>
<equals arg1="${infomail.module}" arg2="TS" />
<then>
<echo file = "T:\test/infomail_tolist.txt" append="true">
Avg-${infomail.project}-Tester
</echo>
</then>
</if>
the line isn't appended even though ${infomail.module} contains TS ???
Any ideas ?
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]