Hello,

Have you tried defining properties for your paths
using <property> task with location attribute?

--- Steve Pruitt <[EMAIL PROTECTED]> wrote:

> 
> My build file is located here:
> 
> C:\top\A\B\build.xml
> 
> and I need to include the file found here:
> 
> C:\top\C\D\E\F\somefile.xml

You can do it in the following way:
<property name="somefile.xml"
location="../../C/D/E/F/somefile.xml"/>

Although you specify the location as a relative path,
the value of the property will be expanded to the
absolute path. The advantage is that in this way you
rely only on relative paths between the files.
However, if the
&#1088;&#1077;&#1083;&#1072;&#1090;&#1080;&#1078;&#1077;
location of somefile.xml is not fixed, you can isolate
this propertie in an external properties file and
adjust it every time the location of somefile.xml
chages.

HTH Ivan


> 
> 
> I have searched but cannot find any example or
> instruction on how to do
> this.
> 
> 
> Regards,
> Steve Pruitt
> email: [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to