One build file is calling another build file to do the build .But for the actual build to happen , I have to do ant -lib .\lib. How to accomplish this inside the 2nd target.
-----Original Message----- From: Parthasarathy, Srikrishna - Information Technology <[EMAIL PROTECTED]> Sent: Friday, February 10, 2006 1:07 PM To: 'Ant Users List' Subject: Using ant task for doing builds. Importance: High In my 2nd build, when I actually do a ant -lib .\lib , it works. How do I incorporate in my below mentioned build.xml file <project name="cc-build" default="build" basedir="."> <target name="build"> <delete dir="checkout/project1" failonerror="false" /> <cvs cvsRoot=":ext:[EMAIL PROTECTED]:/cvsroot" package="jinxweb" dest="checkout/project1" /> <ant antfile="build.xml" dir="checkout/project1/jinxweb/jinxweb" /> </target> <target name="buildbosprint"> <delete dir="checkout/project2" failonerror="false" /> <cvs cvsRoot=":ext:[EMAIL PROTECTED]:/cvsroot" package="bosprint" dest="checkout/project2" /> <ant antfile="build.xml" dir="checkout/project2/bosprint" /> </target> </project>