ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: default directory for directory attribute tasks
Date Tue, 13 Apr 2010 12:59:08 GMT
On 2010-04-13, Raja Nagendra Kumar <Nagendra.Raja@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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message