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:[EMAIL PROTECTED]:/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:[EMAIL PROTECTED]:/cvsroot"

       package="bosprint"

       dest="checkout/project2"

      />

 

 

 

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

   

 

  </target>

 

  

 

 

</project>

Reply via email to