I create a target t1 in C:\abc\build.xml directory as 

<target name="t1">

<ant antfile="build.xml" target="dependencies" inheritrefs="no"
inheritall="no" dir="D:\xyz\build.xml"> 

</target>

I have another build.xml file that are defined in D:\xyz\build.xml. And
contains dependencies target. 

My problem is that i want to call dependencies task into target t1 (in
C:\abc\build.xml).

How can i do it ?

Thanks.



Jeffrey E Care wrote:
> 
> "m.sudan" <[EMAIL PROTECTED]> wrote on 12/03/2008 09:11:36 AM:
> 
>> How to call target, say t1 from a directory C:\abc\build.xml file into
>> target, say x1 (D:\xyz\build.xml file)?
>> 
>> Both build files are defined in two different directories.
> 
> This is a user list question.
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-call-a-task-from-a-directory-tp20813653p20813922.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to