ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt Guenther <iamku...@bellsouth.net>
Subject ant subtask doesn't read properties file.
Date Thu, 06 Nov 2003 13:37:31 GMT

When I do a:

  <property file="${basedir}/build.properties"/>

  <target name="build.subdirs">
     <ant dir="${basedir}/xpress_client" antfile="build.xml" 
target="build" inheritAll="false"/>
   </target>

Ant builds the subproject, but it doesn't reread the "build.properties 
file that's in the sub-project.  I've gotten around it by doing:

  <target name="build.subdirs">
     <ant dir="${basedir}/xpress_client" antfile="build.xml" 
target="build" inheritAll="false">
        <property file="${basedir}/build.properties"/>
     </ant>
  </target>

But, it seems with the inheritAll="false", the subproject should behave 
by not skipping this statement:

  <property file="${basedir}/build.properties"/>

Any thoughts?

--Kurt



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message