Ant with Maven

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Ant with Maven

Chedly GUERFALI
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