ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lybarger" <Mark.Lybar...@CBC-Companies.com>
Subject calling another build file, changing directory
Date Mon, 23 Feb 2004 19:06:11 GMT
i have two ant scripts, one which calls the other.  the problem is that in build.test.xml,
it's using a property of basedir = ".".  this doesn't work out so nicely if the user isn't
"in" the folder the build.test.xml is in.  is there a way to cd into a folder or somesuch
with the ant call?

build.xml
testing\build.test.xml

  <target name="test" description="run cactus tests">
    <ant antfile="${test.file.path}" target="${test.target}">
      <property name="buildProps" value="${deploy.properties.file.path}" />
      <property file="environment.properties" />
    </ant>
  </target>


  

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
 


Mime
View raw message