Hi again!

 sorry for post to this list because it is more user question (am not member
 of users).

 How do I compare property to some value?

 What I want to do is copy all folders containing 'Test' in name somewhere.
 Here is snippet:

      <foreach item="String" in="${changes}" delim=" " property="folder">
       <echo message="${folder}"/>

       <property name="test" value="true"/>
       <regex pattern="(?'test'Test)$" input="${folder}"/>

       <ifnot propertytrue="test" failonerror="false">
         <echo message="test? : [${folder}]"/>  ...copy should be here...
       </ifnot>


      </foreach>

 But it doesn't work. I see no other way to do it with if/regex combination.
 Any other task for this?


 2/ I found a serious lack of documentation in tasks <if> <ifnot> <regex>
and
 <nunit2>. For nunit subtag <formatter> is not documented at all and it is
 needed! (throws warning). I could submit some docs but someone has to
review
 it because of my horrible English...

 Thanks,
 Martin




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to