ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Ant or Subant question
Date Wed, 26 Oct 2005 07:40:51 GMT
Is the manual not clear enough? How to improve that?

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Petar Tahchiev [mailto:paranoiabla@gmail.com] 
>Gesendet: Mittwoch, 26. Oktober 2005 09:29
>An: Ant Users List
>Betreff: Re: Ant or Subant question
>
>On 26/10/05, Jan.Materne@rzf.fin-nrw.de 
><Jan.Materne@rzf.fin-nrw.de> wrote:
>>
>> >However I was asking myself another question. What happens with the 
>> >basedir project's attributes?
>>
>> From the manual
>> "If you want to run directory1/mybuild.xml, directory2/mybuild.xml, 
>> ...., use the antfile attribute. The subant task does not 
>set the base 
>> directory for you in this case, because you can specify it in each 
>> build file."
>>
>>
>> >I saw you can pass a
>> >property, but what happens if there exists already defined basedir 
>> >property and you pass one to the build you are calling with subant?
>>
>> Properties are immutable - first wins.
>> And the first should be the value you pass into - but just 
>try it out.
>>
>>
>> >I know that properties are immutable, but I also know that 
>basedir is 
>> >a "special" property, which reminds me another
>> >question: what is the special of the basedir property?
>>
>> Relative paths are relative to ${basedir}.
>> ${basedir} is set by Ant even if you dont specify it as attribute. 
>> It´s the directory of the build.xml.
>>
>>
>>
>> Jan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
>additional 
>> commands, e-mail: user-help@ant.apache.org
>>
>>
>Thanks for the assistance, Jan. That cleared out my suspicions.
>
>--
>Regards, Petar!
>

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


Mime
View raw message