Sorry, I don't think you are providing enough information for anyone to help you; I certainly can't understand your scenario, as you seem to have two build.xml files you're working with, but you've only provided one that I can see.
In any case, here is some helpful advice: http://www.catb.org/~esr/faqs/smart-questions.html#urgent
I would highly recommend reading that document (the linked section in particular).
____________________________________________________________________________________________ | |
Jeffrey E. (Jeff) Care | |
IBM WebSphere Application Server Development |
WAS Pyxis Lead
Release Engineer
|
|
<[EMAIL PROTECTED]> wrote on 02/10/2006 02:47:57 PM:
> 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>
>