ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Srikrishna_Parthasara...@timeinc.com>
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=":ext:srikrishnap@cvs.timeinc.com:/cvsroot"

       package="jinxweb"

       dest="checkout/project1"

      />

 

 

 

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

  </target>

 

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

     

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

 

     <cvs cvsRoot=":ext:srikrishnap@cvs.timeinc.com:/cvsroot"

       package="bosprint"

       dest="checkout/project2"

      />

 

 

 

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

   

 

  </target>

 

  

 

 

</project>


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