problem while creating jar file using ant task

2009-10-07 Thread Edumudi Viswanath
Hi, I need to create jar file using ant task. While creating jar file, it should traverse to innermost directory & pick up all .class from from that folder. The code looks like below. Here, basedir contains "${build}/classes". Classes folder contains different folders and they contain

RE: problem with macrodef in ant

2009-07-28 Thread Edumudi Viswanath
hen its really unnecessary. Just use it inline as I have done above... No need for another macrodef - just modify the task inside the current macrodef. Also, I note you have a similar problem with property entitled exsh.arg. I took the liberty of changing that above as well.. On Tue, 28 J

RE: problem with macrodef in ant

2009-07-28 Thread Edumudi Viswanath
as u know, i used only one microdef for 2 different targets. will i try with different macrodef for every target? -Original Message- >From Scot P. Floess Sent Tue 7/28/2009 4:49 PM To Ant Users List Subject RE: problem with macrodef in ant Actually, why don't you just use this: Or

Re: how to do conditional processing in ant

2009-07-19 Thread Edumudi Viswanath
Hi David Weintraub, Thanks very much for your reply. Based on the approach you mentioned, i wrote total logic for the task. kindly inspect once. here, may i ask some questions. they are 1) In one tag, i can write any no of tags. is it write? 2) In one tag, there should be only one tag. is

RE: how to do conditional processing in ant

2009-07-19 Thread Edumudi Viswanath
Hi Scot P. Floess, thank you very much for your reply. ya, xyz folder contains dev/sit/prod/uat. with , i can copy only one file. but in my case, i need to copy more than one file from "xyz/${envv}/${ssltype}" to "xyz". in that case, how can i copy more than one file from the folder xyz/${