ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander V. Gorlov" <a...@vis.infotel.ru>
Subject if, unless problems
Date Fri, 08 Dec 2000 09:47:41 GMT
I use successfully next code:

     <property name="Version1" value="true"/>
     <property name="false" value="false"/>
<target ...>
<copy ...>
      <fileset dir="${dir}">
        <include name="**/*.xml" if="${Version1}"/>
        <include name="**/*.xsl" if="${Version1}"/>
      </fileset>
</copy>
but code like don`t work
<target ... if="${Version1}">
'if' in the target work only when I use if="constant".
This is design features or I do something wrong?

Ales




Mime
View raw message