Stefan,

> If you really want the directory that contains the build file
Yes, I am looking for a way to reference dir that contains the build file.
this location is different than basedir.

In my case, the project does not have any name, hence as generic approach of
referring to this file would help a lot.. 

similar lines to 'this ' used in java.

Pl. look at my need which does not just confine to <import>


Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com







Stefan Bodewig wrote:
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/default-directory-for-directory-attribute-tasks-tp28228748p28230595.html
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to