You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chedly GUERFALI <ch...@actia.fr> on 2005/06/13 16:28:40 UTC

Ant with Maven

Hello all,
I am trying to echo the ValidId property like above:

<ant:Condition property="validId" value="false" else="true">
    <ant:Length file="Q:\valid_id.txt" when="greater" length="0"/>
</ant:Condition>
 <echo> ValidId = ${validId}</echo>

in order to test if a file is empty or not and the result is always blank.
Could someone give me some help, please.

Chedly