Question : How to execute the same target twice with different properties?

Hello,

i wonder how to make ant execute the same target more than once with dirrent properties.

The next script doesn't work as I expected:

   
          
          
       
       
   


   
          ${prop1}
   


The output is:

test1:
test2:
     [echo] 11111
test2:
     [echo] 11111

But I expect:

test1:
test2:
     [echo] 11111
test2:
     [echo] 22222


What do i do wrong and what is the right way to do it?

Thanks

Answer : How to execute the same target twice with different properties?

Pass a param to antcall:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:

  
    
  
  
    
  

 

  

Random Solutions  
 
programming4us programming4us