On 2010-04-13, Raja Nagendra Kumar <nagendra.r...@tejasoft.com> wrote:

> if I use

> <project>
>     <import file="tasks/TaskDefs.xml"/>
>     <import file="PreDefs.xml"/>
>     <import file="CompDefs.xml"/>
> </project>


> instead I want to say

> <import>
>       <filelist dir="??????"
>                 files="tasks/TaskDefs.xml,
>                 PreDefs.xm,
>                 CompDefs.xml"
>               />
>     </import>

If your build files's location is the same as your project's basedir
this would simply be ${basedir} or just ".".  If you really want the
directory that contains the build file, see the sections labeled
"Special Properties" and "Resolving files against the imported file" in
<http://ant.apache.org/manual/CoreTasks/import.html>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to