Hi,

>seems that you�re not using the latest AntContrib ...

i know there's already 1.0b1 out, but ...

>Property "infomail.project" seems to contain a linefeed.
>How do you set that property?

the parsed file :

projekt=testproject
Module A:ab_1_2_3_rc31,
Lum:TS,
Lum:T7 ,
repository = CVS

i do it like that :

<!-- Projekt -->
<loadfile srcFile="T:\test\deploy_info.txt" property="infomail.project">
    <filterchain>
        <linecontainsregexp>
            <regexp pattern="^projekt="/>
        </linecontainsregexp>
        <tokenfilter>
            <replaceregex pattern="projekt=" replace=""/>
        </tokenfilter>
    </filterchain>
</loadfile>


> <if>
>    <equals arg1="${infomail.module}" arg2="TS" />

>You�re checking if two string are equal, not whether one contains the other.

So, how to do that ?!

Gilbert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to