ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Calling one build file with another - please respond
Date Thu, 16 Feb 2006 21:25:11 GMT
My goal is do a checkout of each project and then do a build. For my
first project when I run individually,I call ant so it works but for my
2nd project ...I had to ant -lib .\lib . it works too. How to pass this
information to the 2nd build...using the ant task. The below mentioned
doesn't work..suggestions...How to pass options ..........


 If you have specifics , you need to clarify please do so.


<project name="cc-build" default="build" basedir=".">


  <target name="build" description="it is my first project">


    <delete dir="checkout/project1" failonerror="false" />


     <cvs cvsRoot=""







   <ant antfile="build.xml" dir="checkout/project1/jinxweb/jinxweb" />



   <target name="buildbosprint" description="this is 2nd project">


    <delete dir="checkout/project2" failonerror="false" />


     <cvs cvsRoot=""







   <ant antfile="build.xml" dir="checkout/project2/bosprint" />









  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message