correct!!

David Weintraub wrote:
> 
> Just to understand what you're trying to do:
> 
> You have various references to paths. There could be one or more of
> these references. What you want is a combined path of all of these
> references. Is that correct?
> 
> On Thu, Jul 9, 2009 at 3:44 AM, kleinfisch<kleinfi...@gmx.net> wrote:
>>
>> example:
>> i have a property as following defined:
>> <property name="reference" value="ref1,ref2,ref3"/>
>> the count of value is dynamic.
>> the question is: how can i define the refid inside path with for task:
>> - Test 1:
>> <path id="build.path">
>>   <for list="${reference}" param="ref">
>>      <sequential>
>>         <path refid="@{ref}">
>>      </sequential>
>>   </for>
>> </path>
>> Result: failed, because "path" doesn't support the nested "for" element.
>>
>> - Test 2:
>> <for list="${reference}" param="ref">
>>   <path id="build.path">
>>      <sequential>
>>         <path refid="@{ref}">
>>      </sequential>
>>   </path>
>> </for>
>> Result: only last value of "reference" is defined always, because the
>> recent
>> value of "reference" is always replaced by the next value of "reference".
>>
>> Has anybody else an idea, "path" task with a loop definition?
>> --
>> View this message in context:
>> http://www.nabble.com/for-task-inside-path-task-tp24405629p24405629.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
>>
>>
> 
> 
> 
> -- 
> David Weintraub
> qazw...@gmail.com
> 
> ---------------------------------------------------------------------
> 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://www.nabble.com/for-task-inside-path-task-tp24405629p24531190.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