RE: how to do conditional processing in ant

2009-07-19 Thread Scot P. Floess
ormation within your environment variables to do the job - nothing conditional about it... -Original Message- From Scot P. Floess Sent Fri 7/17/2009 4:59 PM To Ant Users List Subject RE: how to do conditional processing in ant Ah - so really dev, sit, prod and uat are located in disjoint dire

Re: how to do conditional processing in ant

2009-07-19 Thread Edumudi Viswanath
5 PM To Ant Users List Subject Re: how to do conditional processing in ant There are two general ways to do conditional processing. One is to use the "if" or "unless" parame

RE: how to do conditional processing in ant

2009-07-19 Thread Edumudi Viswanath
59 PM To Ant Users List Subject RE: how to do conditional processing in ant Ah - so really dev, sit, prod and uat are located in disjoint directories? For example: /foo/dev, /bar/sit, /alpha/prod and /beta/uat If so, I suppose you could do something like this:

Re: how to do conditional processing in ant

2009-07-17 Thread David Weintraub
There are two general ways to do conditional processing. One is to use the "if" or "unless" parameters on the task themselves: <...> <...> <...>

Re: FW: how to do conditional processing in ant

2009-07-17 Thread Scot P. Floess
I'm confused... Why do you keep mentioning "conditional processing?" I don't see anything conditional about this at all... Sorry - just trying to understand :) On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: Assume, below folder structure & I issue fol

RE: how to do conditional processing in ant

2009-07-17 Thread Scot P. Floess
should copy files from xyz/sit/1ssl to xyz/. To do this copy task, ant must use some kind of conditional processing. Based on that decision, It needs to copy files from that particular folder to xyz folder. -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Friday

Re: how to do conditional processing in ant

2009-07-17 Thread Michael George
2ssl 1.txt 2.txt Now, based on given envv & ssltype, it should copy files from xyz/sit/1ssl to xyz/. To do this copy task, ant must use some kind of conditional processing. Based on that decision, It needs to copy files from that particular folder to

FW: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
2ssl 1.txt 2.txt Now, based on given envv & ssltype, it should copy files from xyz/sit/1ssl to xyz/. To do this copy task, ant must use some kind of conditional processing. Based on that decision, It needs to copy files from that particular folder to xyz folde

RE: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
2ssl 1.txt 2.txt Now, based on given envv & ssltype, it should copy files from xyz/sit/1ssl to xyz/. To do this copy task, ant must use some kind of conditional processing. Based on that decision, It needs to copy files from that particular folder to

RE: how to do conditional processing in ant

2009-07-17 Thread Scot P. Floess
do conditional processing in ant Do you need to conditionally copy files or copy files based on a dir defined in a property? On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: Hi Friends, I know how to pass more than one command line arguments /parameters to a task in ant. Ex

RE: how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
Conditional copy of files from a directory XYZ/prod/1ssl to xyz/ directory. -Original Message- From: Scot P. Floess [mailto:sflo...@nc.rr.com] Sent: Friday, July 17, 2009 8:06 PM To: Ant Users List Subject: Re: how to do conditional processing in ant Do you need to conditionally copy

Re: how to do conditional processing in ant

2009-07-17 Thread Scot P. Floess
Do you need to conditionally copy files or copy files based on a dir defined in a property? On Fri, 17 Jul 2009, edumudi.viswan...@oracle.com wrote: Hi Friends, I know how to pass more than one command line arguments /parameters to a task in ant. Ex: Command prompt>ant -Denvv=produc

how to do conditional processing in ant

2009-07-17 Thread edumudi.viswan...@oracle.com
Hi Friends,   I know how to pass more than one command line arguments /parameters to a task in ant.   Ex:   Command prompt>ant –Denvv=production  -Dssltype=1SSL  eardirect    ( where eardirect is a task name I defined in ant)   Assume I have four different environments like PRO

RE: Conditional processing

2004-12-15 Thread James Abley
g) instead of > Ant. > > > -Original Message- > > From: Laran Evans [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 14, 2004 12:17 PM > > To: Ant User Mailing List > > Subject: Condit

Re: Conditional processing

2004-12-14 Thread Matt Benson
--- Laran Evans <[EMAIL PROTECTED]> wrote: > How would I do something like: > > > > > > > > > > > ? ant-contrib has an task, but using "classical Ant" you might do: or, you might do this (arguable more "normal"): HTH

RE: Conditional processing

2004-12-14 Thread Charles Daniels
OTECTED] > Sent: Tuesday, December 14, 2004 12:17 PM > To: Ant User Mailing List > Subject: Conditional processing > > How would I do something like: > > > > > > > > > > > ? > > -- &g

Conditional processing

2004-12-14 Thread Laran Evans
How would I do something like: ? -- Laran Evans - Cornell University p: (607) 255-6864 f: (607) 255-0327 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]